C++ Metaprogramning: accessing compile-time static class member from a CRTP c
template <typename T> struct Templated { static const int x = T::X; }; struct Normal : Templated<Normal> { static constexpr const inline int X = 0; }; Error: ‘X’ is not a member of Normal c++ c++20 template-meta-programming crtp 1