AnthonyCalandra / modern-cpp-features

A cheatsheet of modern C++ language and library features.
MIT License
19.6k stars 2.08k forks source link

std::to_address to convert a pointer to raw pointer and smart pointer default initialization in C++20 missed #124

Closed zzombie closed 1 year ago

zzombie commented 1 year ago

https://en.cppreference.com/w/cpp/memory/to_address

AnthonyCalandra commented 1 year ago

I think with your second point you're referring to the makeoverwrite versions of the smart pointer make* functions? To be honest I think both of these features are too niche to include in the sheet so I'm going to close this one unless I get enough requests for it.