Relative Content

Tag Archive for c++templatesc++20c++-conceptsif-constexpr

constexpr using concepts, passes for incorrect type [duplicate]

This question already has answers here: C++ concept that a type is same_as any one of several types? (2 answers) Is there a simpler way to write a concept that accepts a set of types? (1 answer) Closed yesterday. I need a templated function which, at compile time, has some behavior inside of it specialized […]