NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::all_same< T1, Head, Tail... > Struct Template Reference

#include <TypeTraits.hpp>

Static Public Attributes

static constexpr bool value = std::is_same<T1, Head>::value && all_same<T1, Tail...>::value
 

Detailed Description

template<typename T1, typename Head, typename... Tail>
struct nc::all_same< T1, Head, Tail... >

Template class specialization for determining if all of the types are the same as another type

Field Documentation

◆ value

template<typename T1 , typename Head , typename... Tail>
constexpr bool nc::all_same< T1, Head, Tail... >::value = std::is_same<T1, Head>::value && all_same<T1, Tail...>::value
staticconstexpr

The documentation for this struct was generated from the following file: