Search code examples
Overload resolution for char*, char array, and string literals using constexpr, SFINAE and/or type_t...


c++overloadingsfinaetype-traitsenable-if

Read More
C++ return type depending on the number of function arguments...


c++templatesvariadic-functionstype-traitsvariadic

Read More
Why can you implement std::is_function in terms of std::is_const and std::is_reference?...


c++templatesstdsfinaetype-traits

Read More
How to use decltype(T::member) for a member that might not exist in T...


c++c++20type-traitsc++-conceptsdecltype

Read More
Generic way of lazily evaluating (short-circuiting) with std::conditional_t...


c++templatesc++14template-meta-programmingtype-traits

Read More
Is there a nice way to implement a conditional type with default fail case?...


c++templatestemplate-meta-programmingtype-traitsconditional-types

Read More
How to conditionally define a typedef to be one of two types...


c++templatestypestype-traits

Read More
Why does C++20's requires expression not behave as expected?...


c++templatesc++20type-traitsrequires-expression

Read More
Which rules determine whether an object is trivially copyable...


c++c++11language-lawyertype-traitstrivially-copyable

Read More
How to tell whether two class templates are the same...


c++templatestype-traitstemplate-templates

Read More
How do I check if my template class is a specific classtype?...


c++templatestype-traits

Read More
How to check if a type is a specialization of the std::array class template...


c++templatesc++11metaprogrammingtype-traits

Read More
How does this implementation of the is_base_of trait work?...


c++templatesoverloadingimplicit-conversiontype-traits

Read More
Why does the ```is_assignable_v<int, int>``` and ```is_assignable_v<int&, int>``` ha...


c++templatesc++17type-traits

Read More
Why is std::is_pod deprecated in C++20?...


c++type-traitsstandard-layouttrivially-copyable

Read More
How to check at compile time that an expression is illegal?...


c++sfinaetype-traitsc++-concepts

Read More
std::is_enum_v<std::byte> evaluates to true...


c++enumstype-traitsstd-byte

Read More
How to check that a type is 'formattable' using type traits / concepts?...


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

Read More
split parameter pack in template specialization?...


c++templatestype-traits

Read More
what is the difference between std::conditional and std::conditional_t c++...


c++type-traits

Read More
Arity of aggregate in logarithmic time...


c++c++11aggregatec++14type-traits

Read More
c++ type trait to detect if any function argument is reference...


c++c++11templateslambdatype-traits

Read More
Use of variadic argument ellipsis in a type trait for chrono durations...


c++variadic-functionstype-traitsc++-chrono

Read More
declval<_Xp(&)()>()() - what does this mean in the below context?...


c++c++20type-traits

Read More
A question about type traits std::remove_cv...


c++11type-traits

Read More
Check if a container can be traversed backwards in C++...


c++templatesaliastype-traits

Read More
How to check if two types are the same, ignoring const and reference?...


c++typestype-traits

Read More
Using std::enable_if with complex predicates...


templatesc++14sfinaetype-traitsenable-if

Read More
How to use `std::is_enum` with unnamed `enum`s?...


c++typesenumsconstraintstype-traits

Read More
Apply multiple tuples at the same time in C++20...


c++templatestuplesc++20type-traits

Read More
BackNext