Pyrogenesis  trunk
Classes | Functions
PS Namespace Reference

Classes

struct  CapacityExceededException
 
class  span
 Simplifed version of std::span (C++20) as we don't support the original one yet. More...
 
class  StaticVector
 A conntainer close to std::vector but the elements are stored in place: There is a fixed capacity and there is no dynamic memory allocation. More...
 

Functions

template<typename T , size_t N>
 span (const std::array< T, N > &) -> span< const T >
 
template<size_t N>
constexpr auto MakeSmallestCapableUnsigned ()
 
template<size_t N>
constexpr auto MakeSmallestCapableSigned ()
 

Function Documentation

◆ MakeSmallestCapableSigned()

template<size_t N>
constexpr auto PS::MakeSmallestCapableSigned ( )

◆ MakeSmallestCapableUnsigned()

template<size_t N>
constexpr auto PS::MakeSmallestCapableUnsigned ( )

◆ span()

template<typename T , size_t N>
PS::span ( const std::array< T, N > &  ) -> span< const T >