Search code examples
std::conditional_t for class type vs non-class type...


c++type-traits

Read More
The problem of libstdc++‘s implementation of std::declval...


c++metaprogrammingc++20type-traits

Read More
c++ static_assert fails on both branches of an 'if constexpr statement'...


c++c++17type-traitsstatic-assertcompile-time-type-checking

Read More
Work around incomplete type in static assert...


c++templatestype-traitsstatic-assert

Read More
Compare templates itselves and not instantiated template-types...


c++templatestype-traitstemplate-templatestemplate-aliases

Read More
Are function pointers function objects in C++?...


c++functionc++11type-traitsfunction-object

Read More
How Can I Get Value_Type on both value and pointer by using template in c++?...


c++templatestype-traitsconcept

Read More
How can I allow both floating-point and integer types but disallow bool in a template...


c++templatestype-traits

Read More
Concept as_same identity fail...


c++c++20type-traitsc++-concepts

Read More
What is complexity of std::common_type?...


c++metaprogrammingtype-traits

Read More
enable_if with is_move_constructible allows non-movable types, but requires does not...


c++templatestype-traitsenable-if

Read More
How to create a class specialization that does different things for floats and ints?...


c++templatesoperator-overloadingtype-traits

Read More
What is the difference between std::trivially_copyable_v and std::is_pod_v (std::is_standard_layout ...


c++c++17type-traits

Read More
C++ type trait with volatile...


c++c++17type-traits

Read More
How do I write trait for a vector correctly?...


c++templatescontainerstype-traits

Read More
Error trying to implement type checking with SFINAE...


c++sfinaetype-traits

Read More
User defined type trait gives an unexpected false type...


c++c++11type-traits

Read More
standard c++11 way to remove all pointers of a type...


c++boostc++11type-traits

Read More
Conditionally provide a using declaration...


c++templatesc++17type-traitsenable-if

Read More
Compare memberwise parameter packs of different lengths...


c++c++11type-traitsparameter-pack

Read More
How to pass traits as arguments for a templated struct?...


c++templatesstructargumentstype-traits

Read More
c++ template meta programming: how do you define the type trait "is_xxxxx_v" alias for my ...


c++templatestemplate-meta-programmingtype-traits

Read More
template class destructor for non-trivial types...


c++language-lawyerc++20type-traitsc++-concepts

Read More
check if type has certain value types and the keyword value_type itself using c++20...


c++templatesc++20type-traits

Read More
Is-braces-constructible type trait...


c++boosttype-traitsboost-variant

Read More
How to detect whether a struct's member is a bit-field at compile time in C++?...


c++sfinaetype-traitsbit-fields

Read More
The standard type_traits library produces unexpected beavior with some type aliases that use decltyp...


c++c++17type-traits

Read More
Optionally-uninitialized class: std::is_trivially_constructible seems incorrect for non-default cons...


c++initializationtype-traits

Read More
std::is_trivially_copyable / std::is_trivially_copy_assignable and array wrapping classes...


c++type-traits

Read More
How do I check whether a reference is const?...


c++referenceiteratorconstantstype-traits

Read More
BackNext