LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Namespaces | Classes | Typedefs | Functions | Variables
nonstd::span_lite Namespace Reference

Namespaces

namespace  std11
 
namespace  std17
 
namespace  std20
 

Classes

class  span
 
struct  with_container_t
 

Typedefs

using extent_t = span_CONFIG_EXTENT_TYPE
 
using size_t = std::size_t
 

Functions

template<class T >
span_constexpr size_t to_size (T size)
 
template<class T , extent_t Extent>
span_constexpr std::size_t size (span< T, Extent > const &spn)
 
template<class T , extent_t Extent>
span_constexpr std::ptrdiff_t ssize (span< T, Extent > const &spn)
 

Variables

span_constexpr const extent_t dynamic_extent = static_cast<extent_t>(-1)
 
const span_constexpr with_container_t with_container
 

Typedef Documentation

◆ extent_t

using nonstd::span_lite::extent_t = typedef span_CONFIG_EXTENT_TYPE

Definition at line 589 of file span.h.

◆ size_t

using nonstd::span_lite::size_t = typedef std::size_t

Definition at line 590 of file span.h.

Function Documentation

◆ size()

template<class T , extent_t Extent>
span_constexpr std::size_t nonstd::span_lite::size ( span< T, Extent > const &  spn)

Definition at line 1463 of file span.h.

References nonstd::span_lite::span< T, Extent >::size().

Referenced by to_size().

◆ ssize()

template<class T , extent_t Extent>
span_constexpr std::ptrdiff_t nonstd::span_lite::ssize ( span< T, Extent > const &  spn)

Definition at line 1468 of file span.h.

References nonstd::span_lite::span< T, Extent >::size().

◆ to_size()

template<class T >
span_constexpr size_t nonstd::span_lite::to_size ( size)
inline

Variable Documentation

◆ dynamic_extent

span_constexpr const extent_t nonstd::span_lite::dynamic_extent = static_cast<extent_t>(-1)

◆ with_container

const span_constexpr with_container_t nonstd::span_lite::with_container

Definition at line 604 of file span.h.