Skip to content

Conversation

@Tsche
Copy link
Member

@Tsche Tsche commented Jan 7, 2026

No description provided.

@Tsche Tsche marked this pull request as ready for review January 7, 2026 05:17
@Tsche Tsche closed this Jan 7, 2026
@Tsche Tsche reopened this Jan 7, 2026
T _data[Extent];

constexpr Constant(T (&_arr)[Extent]) noexcept : Constant(_arr, make_index_sequence<Extent>()) {}
constexpr Constant(T (&_arr)[Extent]) noexcept : Constant(_arr, std::make_index_sequence<Extent>()) {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have rsl implementation for the index sequence, see projects/util/include/rsl/constant_sequence:43

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm opting to not change it for now. It makes no difference here and <rsl/constant_wrapper> will go soon-ish anyway. libstdc++ already has it and I'm making good progress with the libc++ implementation.

@Tsche Tsche merged commit 16880c0 into master Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants