Samira·Oct 23𝗖𝗮𝗰𝗵𝗶𝗻𝗴 𝘄𝗶𝘁𝗵 𝘀𝘁𝗱::𝘄𝗲𝗮𝗸_𝗽𝘁𝗿 𝗶𝗻 𝐂++🎯𝗖𝗮𝗰𝗵𝗶𝗻𝗴 𝘄𝗶𝘁𝗵 𝘀𝘁𝗱::𝘄𝗲𝗮𝗸_𝗽𝘁𝗿 𝗶𝗻 𝐂++ There are a few potential use cases for std::weak_ptr: ✅Caching ✅Observer lists…
Samira·Jun 19𝘀𝘁𝗱::𝗼𝗽𝘁𝗶𝗼𝗻𝗮𝗹<𝗧> is 𝗡𝗢𝗧 just a value member of type T plus a Boolean flag.⛔𝘀𝘁𝗱::𝗼𝗽𝘁𝗶𝗼𝗻𝗮𝗹<𝗧> is 𝗡𝗢𝗧 just a value member of type T plus a Boolean flag.
Samira·Oct 4, 2025𝐏𝐞𝐫𝐟𝐞𝐜𝐭 𝐑𝐞𝐭𝐮𝐫𝐧𝐢𝐧𝐠 Using 𝐝𝐞𝐜𝐥𝐭𝐲𝐩𝐞(𝐚𝐮𝐭𝐨) in C++ Part2📌Part #2: 𝐏𝐞𝐫𝐟𝐞𝐜𝐭 𝐑𝐞𝐭𝐮𝐫𝐧𝐢𝐧𝐠 Using 𝐝𝐞𝐜𝐥𝐭𝐲𝐩𝐞(𝐚𝐮𝐭𝐨)