[Bug c++/86515] std::initializer_list constructor is not a constant expression

2018-07-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86515 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/86515] std::initializer_list constructor is not a constant expression

2018-07-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86515 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/86515] std::initializer_list constructor is not a constant expression

2018-07-13 Thread sliser at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86515 --- Comment #1 from sliser at mail dot ru --- struct A1 { static constexpr auto SupportedVersions = {"1.1", "1.2", "1.3", "1.4"}; // Ok }; template struct A2 { static constexpr auto SupportedVersions = {"1.1", "1.2", "1.3", "1.4"}; //