I like to do some check when one of my ctors are called with compile time known value. Is there a way to detect it?
So when someone call this:
A a (10);
since 10 is a compile time known constant, i like to call a special ctor, like this:
template<int Value, typename = std::enable_if_t<Value <= 100>>
A (int Value) {}
Any idea how can i solve this issue? Thanks!