Search code examples
Type traits `is_noexcept`, `add_noexcept`, and `remove_noexcept`?...

c++c++20type-traitsnoexceptc++23

Read More
Is there a clean way to make declvals for types with no default constructors?...

c++c++20constexprtype-traits

Read More
How to ensure a weak_ptr is not created from a temporary shared_ptr?...

c++c++20type-traitsc++-conceptsweak-ptr

Read More
How to replace decltype(f()) with std::invoke_result_t, where f is a lambda with non-type template p...

c++c++20type-traits

Read More
Can I overload functions with type-traits?...

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

Read More
Define a template function according to class member variable with typetraits...

c++type-traits

Read More
Comparison of `String Literal Types`...

typescriptstringtypesliteralstype-traits

Read More
type trait with enum as specialisation...

c++templatestype-traits

Read More
Encountring error: no type named ‘iterator_category’ in ‘struct std::iterator_traits<std::vector&...

c++c++11vectoriteratortype-traits

Read More
Deducing a shared base of two classes in C++...

c++type-traitsc++-experimental

Read More
How to check if an object is an instance of template class of multiple template arguments and that o...

c++templatestype-traits

Read More
How to static assert whether all types of a tuple fulfill some condition?...

c++tuplesc++14type-traits

Read More
How to check if an object is an instance of a template class of multiple template arguments in C++?...

c++templatestype-traits

Read More
How to initialise and return an std::array within a template function?...

c++templatestype-traits

Read More
Why the std::is_array in template function is not distinguishing between int and array type?...

c++c++11templatestype-traitsfunction-templates

Read More
What is wrong with my application of SFINAE when trying to implement a type trait?...

c++c++17sfinaetype-traits

Read More
Why does std::is_invocable_r reject functions returning non-moveable types?...

c++language-lawyerc++20sfinaetype-traits

Read More
Using type trait to ensure a type cannot be derived from itself...

c++type-traits

Read More
How to write a type trait that checks if tuple types are compatible with function arguments...

c++templatestype-traits

Read More
‘is_trivially_copyable’ is not a member of ‘std’...

c++c++11type-traits

Read More
Error on pass template argument through function...

c++templatestype-traits

Read More
How to use multiple conditions in enable_if?...

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

Read More
C++ Detect private member of friend class with CRTP...

c++sfinaetype-traitscrtpenable-if

Read More
Can we assume std::is_default_constructible<T> and std::is_constructible<T> to be equal?...

c++type-traits

Read More
C++ template recursively print a vector of vector using template...

c++templatestype-traits

Read More
Why is std::is_copy_constructible_v<std::vector<MoveOnlyType>> true?...

c++c++17language-lawyertype-traitslibc++

Read More
C++ template result_of_t no type named 'type' when trying to find return value of function...

c++templatestype-traitsdecltype

Read More
C++ template type_trait enable_if a class is a map...

c++templatestype-traitsdecltypeenable-if

Read More
Trait or method that does not depend on generic type...

genericsrusttraitstype-traits

Read More
How to check for the existence of a subscript operator?...

c++templatesc++11sfinaetype-traits

Read More
BackNext