Search code examples
How to check at compile-time if a = b (where a and b are arguments of type T&) is valid inside a...


c++templatestype-traitscompile-time

Read More
Why are trait objects usually used via references (&dyn Trait) or smart Pointers (like Box<dy...


rusttraitstype-traitstrait-objects

Read More
Why is std::is_trivial deprecated in C++26?...


c++type-traitsc++26trivially-copyable

Read More
std::copy_assignable_v not working for reference types, how to fix?...


c++referencec++-conceptstype-traitscopy-assignment

Read More
Looking for "is_comparable" typetrait...


c++11type-traits

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


c++templatesc++11metaprogrammingtype-traits

Read More
Does trivially copyable imply trivially relocatable?...


c++optimizationstandardstype-traitsc++26

Read More
Can we detect "trivial relocatability" in C++17?...


c++objectmemoryc++17type-traits

Read More
Making a type trait for rotating index_sequences more compiler friendly...


c++inheritancemetaprogrammingtype-traits

Read More
Accessing static properties of a pointer type...


c++c++11pointersstatictype-traits

Read More
If a class has a destructor declared with a requires clause that evaluates to false, why is the clas...


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

Read More
Get the return type of a method from a member function pointer...


c++type-traitspointer-to-memberdecltype

Read More
How to conditionally implement a function in a template class for type T, where T is a pointer to ty...


c++c++11templatesc++17type-traits

Read More
how to create a template with both default type argument and variadic type argument? or any work aro...


c++variadic-templatestype-traits

Read More
What do we need std::as_const() for?...


c++constantsc++17type-traits

Read More
Type trait for enum member value...


c++c++17type-traits

Read More
Which <type_traits> cannot be implemented without compiler hooks?...


c++c++11type-traits

Read More
C++ Type Traits...


c++templatesmetaprogrammingtype-traits

Read More
Check if static function is available in class at compile time...


c++type-traits

Read More
Get base classes as tuple...


c++templatesinheritancetype-traits

Read More
Type trait to check whether a function can compile with a given type...


c++c++14sfinaetype-traits

Read More
Why does pack expansion fail in my std::tuple transformation type trait?...


c++templatesvariadic-templatestype-traitspack-expansion

Read More
Create a variant from an array whose elements are transformed into types...


c++templatesc++17variadic-templatestype-traits

Read More
Conditionally hiding methods in a template depending on base type...


c++templatesinheritancec++17type-traits

Read More
Why are deleted member functions not propagated through derived classes?...


c++templatesinheritancetype-traitsdeleted-functions

Read More
Structured bindings width...


c++variadic-templatestype-traitsc++17structured-bindings

Read More
Why adding "* = nullptr" to a template defined with enable_if avoids overloading of a func...


c++templatessfinaetype-traits

Read More
Why is is_trivially_copyable_v different in GCC and MSVC?...


c++language-lawyerc++20type-traits

Read More
Is there any difference between using std::is_same<T,U>::value and std::is_same_v<T,U> i...


c++c++17type-traits

Read More
Is there a type_traits way to check if a type is compatible with range-for?...


c++templatesc++17rangetype-traits

Read More
BackNext