Is gcc wrong to allow the initialization of a const array member with another array reference?

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



Duration: 2:13
3 views
0


Is gcc wrong to allow the initialization of a const array member with another array reference?
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/7143595/matg)MatG |
(stackoverflow.com/users/3840170/user3840170)user3840170 |
(stackoverflow.com/users/6022656/max66)max66 |
A special thanks goes out to the (https://stackoverflow.com/questions/75429131/is-gcc-wrong-to-allow-the-initialization-of-a-const-array-member-with-another-ar)Stackexchange community |

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

constexpr consteval member-initialization arrays c++







Tags:
constexpr
consteval
member-initialization
arrays
c++