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

Failure to perform standard compile time checks #75

Open
AneekCN opened this issue Apr 13, 2022 · 0 comments
Open

Failure to perform standard compile time checks #75

AneekCN opened this issue Apr 13, 2022 · 0 comments

Comments

@AneekCN
Copy link

AneekCN commented Apr 13, 2022

Arithmetic NamedType does not pass std::is_arithmetic assertion. i.e.

using MyInt = fluent::NamedType<int, struct _MyInt, fluent::Arithmetic>;
static_assert(std::is_arithmetic<MyInt>() == true); // does not compile

This could be potentially fixed using the same pattern as fluent::Hashable, but need to consider other types of assertions for completeness sake

@AneekCN AneekCN changed the title standard compile time checks on underlying type Failure to perform standard compile time checks Apr 13, 2022
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

1 participant