How do I tell if a std::variant holds any value at all?
Channel:
Subscribers:
4,140
Published on ● Video Link: https://www.youtube.com/watch?v=dK4Sc9bMuAk
How do I tell if a std::variant holds any value at all?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/5869304/joe)Joe
(stackoverflow.com/users/3943312/sam-varshavchik)Sam Varshavchik
(stackoverflow.com/users/10147399/ayxan-haqverdili)Ayxan Haqverdili
A special thanks goes out to the (https://stackoverflow.com/questions/76791369/how-do-i-tell-if-a-stdvariant-holds-any-value-at-all)Stackexchange community
I wish you all a wonderful day! Stay safe :)
c++ std-variant c++17
Other Videos By Peter Schneider
Tags:
c++
std-variant
c++17