Open AneekCN opened 2 years ago
Arithmetic NamedType does not pass std::is_arithmetic assertion. i.e.
NamedType
std::is_arithmetic
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
fluent::Hashable
Arithmetic
NamedType
does not passstd::is_arithmetic
assertion. i.e.This could be potentially fixed using the same pattern as
fluent::Hashable
, but need to consider other types of assertions for completeness sake