Full threadwfwefwef32·c++ static_if but for class members:template<class Type> class A {if constexpr (std::is_same<Type, int>::value) { int a; }}View on HN