https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124425

            Bug ID: 124425
           Summary: Unable to construct
                    meta::reflect_constant_array(std::vector{true, false,
                    true})
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

According to https://eel.is/c++draft/meta.reflection#meta.define.static, I
didn't see any explicit wording to reject the following, or did I miss
something?

#include <meta>
constexpr auto sp = std::meta::reflect_constant_array(std::vector{true, false,
true});

https://godbolt.org/z/r8v4Ws3W3

Reply via email to