Diag-Client-Lib
Static Public Attributes | List of all members
core_type::details::is_container_type< T, ElementType > Struct Template Reference

Check if the element type is not a specialization of Span, Container is not a specialization of Array, Container is not a specialization of std::array, std::is_array<Container>::value is false, std::data(cont) and std::size(cont) are both well-formed. More...

#include <span.h>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T, typename ElementType = remove_cv_ref_t<T>>
struct core_type::details::is_container_type< T, ElementType >

Check if the element type is not a specialization of Span, Container is not a specialization of Array, Container is not a specialization of std::array, std::is_array<Container>::value is false, std::data(cont) and std::size(cont) are both well-formed.

Template Parameters
TThe Element type

Definition at line 117 of file span.h.

Member Data Documentation

◆ value

template<typename T , typename ElementType = remove_cv_ref_t<T>>
constexpr bool core_type::details::is_container_type< T, ElementType >::value
staticconstexpr
Initial value:
= !is_span<ElementType>::value && !is_std_array<ElementType>::value &&
!std::is_array<ElementType>::value && is_data_size_valid<T>::value

Definition at line 118 of file span.h.


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