Diag-Client-Lib
Namespaces | Classes | Functions | Variables
core_type Namespace Reference

Namespaces

 details
 
 visit
 

Classes

class  ErrorCode
 Encapsulation of an error code. An ErrorCode contains a raw error code value and an error domain. The raw error code value is specific to this error domain. More...
 
class  ErrorDomain
 Encapsulation of an error domain. An error domain is the controlling entity for ErrorCode’s error code values, and defines the mapping of such error code values to textual representations. More...
 
class  Result
 Class type to contains a value (of type ValueType), or an error (of type ErrorType) More...
 
class  Result< void, E >
 Specialization of class Result for "void" values. More...
 
class  Span
 A view over a contiguous sequence of objects. More...
 

Functions

template<class T , size_t N>
 Span (T(&)[N]) -> Span< T, N >
 
template<class T , size_t N>
 Span (std::array< T, N > &) -> Span< T, N >
 
template<class T , size_t N>
 Span (const std::array< T, N > &) -> Span< const T, N >
 
template<class Container >
 Span (Container &) -> Span< typename std::remove_reference< decltype(*std::data(std::declval< Container & >()))>::type >
 
template<class Container >
 Span (const Container &) -> Span< const typename Container::value_type >
 

Variables

constexpr std::size_t dynamic_extent = std::numeric_limits<std::size_t>::max()
 A constant for creating Spans with dynamic sizes. More...
 

Function Documentation

◆ Span() [1/5]

template<class Container >
core_type::Span ( const Container &  ) -> Span< const typename Container::value_type >

◆ Span() [2/5]

template<class T , size_t N>
core_type::Span ( const std::array< T, N > &  ) -> Span< const T, N >

◆ Span() [3/5]

template<class Container >
core_type::Span ( Container &  ) -> Span< typename std::remove_reference< decltype(*std::data(std::declval< Container & >()))>::type >

◆ Span() [4/5]

template<class T , size_t N>
core_type::Span ( std::array< T, N > &  ) -> Span< T, N >

◆ Span() [5/5]

template<class T , size_t N>
core_type::Span ( T(&)  [N]) -> Span< T, N >

Variable Documentation

◆ dynamic_extent

constexpr std::size_t core_type::dynamic_extent = std::numeric_limits<std::size_t>::max()
constexpr

A constant for creating Spans with dynamic sizes.

The constant is always set to std::numeric_limits<std::size_t>::max()

Definition at line 23 of file span.h.

Referenced by core_type::Span< T, Extent >::Span(), and core_type::Span< T, Extent >::subspan().