Get a compile-time index to a std::variant when visiting it?
Get a compile-time index to a std::variant when visiting it? duplicate
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/1021959/bernard)Bernard
(stackoverflow.com/users/2684539/jarod42)Jarod42
(stackoverflow.com/users/2069064/barry)Barry
A special thanks goes out to the (stackoverflow.com/questions/79173087/get-a-compile-time-index-to-a-stdvariant-when-visiting-it)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
template-meta-programming c++20 variant std-variant c++