Can I have a std::optionalT if T is neither constructible nor copyable nor movable?
Can I have a std::optionalT if T is neither constructible nor copyable nor movable?
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(stackoverflow.com/users/11102572/igor-g)Igor G
(stackoverflow.com/users/5740428/jan-schultke)Jan Schultke
(stackoverflow.com/users/5825294/enlico)Enlico
A special thanks goes out to the (stackoverflow.com/questions/79119005/can-i-have-a-stdoptionalt-if-t-is-neither-constructible-nor-copyable-nor-mov)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
c++17 c++23 c++20 c++ stdoptional