[Bug c++/124425] [reflection] Unable to construct meta::reflect_constant_array(std::vector{true, false, true})

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 10 12:33:12 GMT 2026


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |redi at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'll try to handle this.
But guess one case is what is needed for this testcase (i.e. handling proxy
iterators for scalar types) and another if we'd need to construct something
(i.e. when the proxy iterator dereference returns say reference to some non-POD
which needs to be copy constructed).
And I haven't yet figured out how to construct (ideally as small as possible)
testcase with such an iterator.


More information about the Gcc-bugs mailing list