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

Subscribers:
4,270
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-22MS-Word: Cannot print customized specified page of the Cover Page
2024-11-22Codereview: Java program for calculating probabilities of die combinations in Yatzy
2024-11-22Raspberrypi: Troubleshooting Raspberry Pi 2 Model B with Solid PWR and ACT LEDs
2024-11-22Raspberrypi: RPi5: error while loading shared libraries: libcef.so: ELF load command address/offs...
2024-11-22Codereview: bbcp (bare-bones file copy) in C
2024-11-22Codereview: Swift String-extension 'countOccurrencesOfChar'
2024-11-22Electronics: Generating ±10V(1.5A) from an 11V input
2024-11-22How to get rid of "Imports array contains unused imports(-998113)"
2024-11-22Codereview: Get histogram of bytes in any set of files in Java
2024-11-22Codereview: Result template
2024-11-21Can I have a std::optionalT if T is neither constructible nor copyable nor movable?
2024-11-20Ethereum: Transaction is not going through even when bundle receipt returns 1
2024-11-20Can macOS admins access Apple ID/iCloud?
2024-11-20Add default route on physical interface using systemd-networkd
2024-11-20Can I terminate this instance?
2024-11-20Electronics: Definition of "High-Impedance State" 74HCT and similar
2024-11-20Gis: QGIS virtual Layer joins setting
2024-11-20Tex: What is Causing These Gaps After Abbreviated Words with Typewriter Text?
2024-11-20Populating a column with filtered values from another column in Excel
2024-11-20Are forward declarations needed when the typedef declaration is done?
2024-11-20how to authenticate one port only when squid listens on 2 ports