TiledArray::container Namespace Reference

Namespaces

 detail
 

Typedefs

template<typename T >
using vector = std::vector< T >
 
template<typename T , std::size_t N = TA_MAX_SOO_RANK_METADATA>
using svector = boost::container::small_vector< T, N >
 

Functions

template<typename Range >
std::enable_if_t< detail::is_integral_range_v< Range > &&detail::is_sized_range_v< Range >, svector< detail::value_t< Range > > > iv (Range &&rng)
 
template<typename Int , typename = std::enable_if_t<std::is_integral_v<Int>>>
svector< Int > iv (std::initializer_list< Int > list)
 
template<typename Int , typename... Ints, typename = std::enable_if_t<std::is_integral_v<Int> && (std::is_integral_v<Ints> && ...)>>
constexpr auto iv (Int i0, Ints... rest)
 

Typedef Documentation

◆ svector

template<typename T , std::size_t N = TA_MAX_SOO_RANK_METADATA>
using TiledArray::container::svector = typedef boost::container::small_vector<T, N>

Definition at line 43 of file vector.h.

◆ vector

template<typename T >
using TiledArray::container::vector = typedef std::vector<T>

Definition at line 41 of file vector.h.

Function Documentation

◆ iv() [1/3]

template<typename Int , typename... Ints, typename = std::enable_if_t<std::is_integral_v<Int> && (std::is_integral_v<Ints> && ...)>>
constexpr auto TiledArray::container::iv ( Int  i0,
Ints...  rest 
)
constexpr

Definition at line 77 of file vector.h.

Here is the call graph for this function:

◆ iv() [2/3]

template<typename Range >
std::enable_if_t<detail::is_integral_range_v<Range> && detail::is_sized_range_v<Range>, svector<detail::value_t<Range> > > TiledArray::container::iv ( Range &&  rng)

Definition at line 49 of file vector.h.

◆ iv() [3/3]

template<typename Int , typename = std::enable_if_t<std::is_integral_v<Int>>>
svector<Int> TiledArray::container::iv ( std::initializer_list< Int >  list)

Definition at line 60 of file vector.h.