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

etl::forward_link does not have constexpr ctor anymore #816

Open
diggit opened this issue Jan 11, 2024 · 1 comment
Open

etl::forward_link does not have constexpr ctor anymore #816

diggit opened this issue Jan 11, 2024 · 1 comment
Assignees

Comments

@diggit
Copy link
Sponsor

diggit commented Jan 11, 2024

Hi,
since commit c3c12da , which added user defined ctors to etl::forward_link not marked with constexpr, it's not possible to construct it in compile time. Thus any child class also can't have constexpr ctors.

I know it's not easy to handle constexpr stuff in multi standard library, but here it should be only about adding appropriate ETL_CONSTEXPR macro prefix or am I wrong?

@jwellbelove
Copy link
Contributor

I'll check whether constexpr constructors are possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants