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

2018-07-13 Thread sliser at mail dot ru
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sliser at mail dot ru Target Milestone: ---

[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 Suppor