Sponsor of the Day:
Jerkmate
https://en.cppreference.com/cpp/memory/unique_ptr
std::unique_ptr - cppreference.com
std unique ptrcppreference
https://invent.kde.org/frameworks/kwindowsystem/-/commit/e873d640dc3338a57c1f5da445d0d10450cec845
platforms/wayland: Manage blur, contrast, and slide globals with std::unique_ptr (e873d640) ·...
So the code is more consistent.
std unique ptrplatforms waylandmanageblurcontrast
https://www.learncpp.com/cpp-tutorial/stdunique_ptr/
22.5 — std::unique_ptr – Learn C++
std unique ptr22 5learn c
https://invent.kde.org/frameworks/kcodecs/-/commit/cb832ac59b811615e7d063bf062504e822d8016e
[KEncodingProber] Replace nsCodingStateMachine raw pointer with unique_ptr (cb832ac5) · Commits ·...
KCodecs provide a collection of methods to manipulate strings using various encodings
unique ptrkencodingproberreplacerawpointer
https://en.cppreference.com/w/cpp/memory/unique_ptr.html
std::unique_ptr - cppreference.com
std unique ptrcppreference
https://www.fluentcpp.com/2017/09/22/make-pimpl-using-unique_ptr/
How to implement the pimpl idiom by using unique_ptr - Fluent C++
Apr 20, 2020 - Expressive code in C++
unique ptrfluent cimplementpimplidiom