Archive for August, 2023

The type trait “std::is_scoped_enum<T>::value” was introduced in C++23 to check whether the type âTâ is a scoped enum type. Another way to use this is std::is_scoped_enum_v<T>. Before getting into this trait in detail, let us briefly recap the differences between unscoped and scoped enums. Unscoped Enums Unscoped enums are the old-style enums. Look at the […]
Recent Comments