Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static_vector::operator== should be constexpr #212

Open
HazardyKnusperkeks opened this issue Feb 28, 2022 · 2 comments
Open

static_vector::operator== should be constexpr #212

HazardyKnusperkeks opened this issue Feb 28, 2022 · 2 comments

Comments

@HazardyKnusperkeks
Copy link

We never allocate so everything can easily be done in constexpr, or do I miss something?

@timblechmann
Copy link

actually, i wonder if all of static_vector could potentially be constexpr

@LocalSpook
Copy link

actually, i wonder if all of static_vector could potentially be constexpr

It can be! There's a static_vector standards proposal and a reference implementation, all constexpr.

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

No branches or pull requests

3 participants