aether::io::byte_order::endian_buffer< Order, T > Struct Template Reference

#include <byte_order.hh>

Public Types

using value_type = T
 

Public Member Functions

 endian_buffer ()
 
 endian_buffer (const value_type &v)
 
endian_bufferoperator= (const value_type &v)
 
value () const
 
 operator T () const
 
const char * data () const
 

Static Public Attributes

static constexpr byte_order order = Order
 

Member Typedef Documentation

template<byte_order Order, typename T >
using aether::io::byte_order::endian_buffer< Order, T >::value_type = T

Constructor & Destructor Documentation

template<byte_order Order, typename T >
aether::io::byte_order::endian_buffer< Order, T >::endian_buffer ( )
template<byte_order Order, typename T >
aether::io::byte_order::endian_buffer< Order, T >::endian_buffer ( const value_type v)

Member Function Documentation

template<byte_order Order, typename T >
const char* aether::io::byte_order::endian_buffer< Order, T >::data ( ) const
inline
template<byte_order Order, typename T >
aether::io::byte_order::endian_buffer< Order, T >::operator T ( ) const
inline
template<byte_order Order, typename T >
auto aether::io::byte_order::endian_buffer< Order, T >::operator= ( const value_type v)
template<byte_order Order, typename T >
auto aether::io::byte_order::endian_buffer< Order, T >::value ( ) const

Member Data Documentation

template<byte_order Order, typename T >
constexpr byte_order aether::io::byte_order::endian_buffer< Order, T >::order = Order
static