The Battle for Wesnoth  1.19.10+dev
Namespaces | Classes | Functions | Variables
boost Namespace Reference

Namespaces

 detail
 

Classes

class  span
 

Functions

template<class C >
constexpr auto data (C &c) noexcept(noexcept(c.data())) -> decltype(c.data())
 
template<class C >
constexpr auto data (const C &c) noexcept(noexcept(c.data())) -> decltype(c.data())
 
template<class T , std::size_t N>
constexpr T * data (T(&a)[N]) noexcept
 
template<class T >
constexpr const T * data (std::initializer_list< T > l) noexcept
 

Variables

constexpr std::size_t dynamic_extent = static_cast<std::size_t>(-1)
 

Function Documentation

◆ data() [1/4]

template<class C >
constexpr auto boost::data ( C &  c) -> decltype(c.data())
inlineconstexprnoexcept

Definition at line 57 of file span.hpp.

References c.

◆ data() [2/4]

template<class C >
constexpr auto boost::data ( const C &  c) -> decltype(c.data())
inlineconstexprnoexcept

Definition at line 64 of file span.hpp.

References c.

◆ data() [3/4]

template<class T >
constexpr const T* boost::data ( std::initializer_list< T >  l)
inlineconstexprnoexcept

Definition at line 78 of file span.hpp.

◆ data() [4/4]

template<class T , std::size_t N>
constexpr T* boost::data ( T(&)  a[N])
inlineconstexprnoexcept

Definition at line 71 of file span.hpp.

Variable Documentation

◆ dynamic_extent

constexpr std::size_t boost::dynamic_extent = static_cast<std::size_t>(-1)
constexpr

Definition at line 83 of file span.hpp.

Referenced by boost::span< T, E >::subspan().