Can anonymous union be simply const (not constexpr)?

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



Duration: 2:23
3 views
0


Can anonymous union be simply const (not constexpr)?
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/7325599/fedor)Fedor
(stackoverflow.com/users/8586227/davis-herring)Davis Herring
A special thanks goes out to the (https://stackoverflow.com/questions/76648941/can-anonymous-union-be-simply-const-not-constexpr)Stackexchange community

I wish you all a wonderful day! Stay safe :)

unions language-lawyer c++11 c++ constants







Tags:
unions
language-lawyer
c++11
c++
constants