Search code examples
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
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
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
Why is std::is_trivial deprecated in C++26?...

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

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

c++templatesc++17rangetype-traits

Read More
When does type traits instantiate templates...

c++templatestype-traitsif-constexpr

Read More
Why does this custom type trait checking for a function template not work?...

c++templatesmetaprogrammingtype-traits

Read More
How to Deduce Template Parameter T from Another Type U in C++?...

c++templatestype-traits

Read More
Design considerations for type traits for a set of related types...

c++template-meta-programmingtype-traitschar-traits

Read More
Using is_XXX_v<> in C++14...

c++c++14type-traits

Read More
How to write `is_complete` template?...

c++templatestype-traitsc++03

Read More
Type trait that sums values of several integral constant types...

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

Read More
Const-qualifier lost on variadic template parameter when trying to pretty-print function signature...

c++templatesvariadic-templatestype-traitsparameter-pack

Read More
assertion fails: __is_complete_or_unbounded array with size 0...

c++g++type-traits

Read More
Type trait providing the static member of a struct/class if available...

c++c++20type-traits

Read More
How do I use std::is_integral<> to select an implementation?...

c++templatesc++11type-traits

Read More
How can I (static_)assert that string is not a type?...

c++type-traits

Read More
deduced conflicting types for parameter 'T' (<const int &> vs. <int>)...

c++variadic-templatestype-traitsconditional-compilationparameter-pack

Read More
Problem on SFINAE with `is_constructible` in constructor...

c++c++14sfinaetype-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
How to write a trait which checks whether a type is iterable...

c++templatestype-traitsiterable

Read More
Why does this static_assert on a pointer to an incomplete type in a templated function apparently wo...

c++templatestype-traitsstatic-assertincomplete-type

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

rusttraitstype-traitstrait-objects

Read More
Why does `std::integral_constant` have a `::type` that refers to itself?...

c++language-designtype-traits

Read More
Can std::is_invocable be emulated within C++11?...

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

Read More
How to check whether a function template exists in C++?...

c++templatessfinaetype-traitsmember-functions

Read More
BackNext