Can I have a std::optionalT if T is neither constructible nor copyable nor movable?

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=9eGE1ulQZ9A



Duration: 0:00
10 views
0


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




Other Videos By Peter Schneider


2024-11-22Codereview: McNaughton-Yamada-Thompson algorithm for converting regex to NDFA
2024-11-22Codereview: Get histogram of bytes in any set of files in Java - take III
2024-11-22Electronics: Designing a variable negative output voltage converter with low ripple
2024-11-22layer_scales not detecting all breaks from ggplot
2024-11-22Ux: Why Do Some Websites Not Accept Number Inputs from the Numeric Keypad?
2024-11-22Codereview: bbcp (bare-bones file copy) in C
2024-11-22What is the idiomatic way to have a member function of a template class with a declaration valid ...
2024-11-22Codereview: All unique triplets
2024-11-22Dba: Do you need NOT VALID when adding new foreign key column
2024-11-22Codereview: Result template
2024-11-21Can I have a std::optionalT if T is neither constructible nor copyable nor movable?
2024-11-20Add default route on physical interface using systemd-networkd
2024-11-20Can I terminate this instance?
2024-11-20Softwareengineering: How to implement an DB index to allow intersection queries on a database whi...
2024-11-20Electronics: Could you stop current flow with an open circuit transformer?
2024-11-20Tex: What is Causing These Gaps After Abbreviated Words with Typewriter Text?
2024-11-20Electronics: Passing SystemVerilog function arguments
2024-11-20Gis: Clipped raster is 5 times bigger than source closed
2024-11-20Softwareengineering: Using "iff" in documentation closed
2024-11-20How to test Combine Publishers in Swift Testing?
2024-11-20What differs std::to_string() from static_caststd::string()?