BitStream
parameter.h File Reference
#include "assert.h"
#include <utility>
#include <type_traits>

Go to the source code of this file.

Classes

class  bitstream::out< T >
 
class  bitstream::finally< Lambda >
 Test type. More...
 

Namespaces

 bitstream
 

Macros

#define BS_CONSTEXPR
 

Typedefs

template<typename T >
using bitstream::in = std::conditional_t<(sizeof(T)<=16 &&std::is_trivially_copy_constructible_v< T >), std::add_const_t< T >, std::add_lvalue_reference_t< std::add_const_t< T > >>
 Passes by const or const reference depending on size. More...
 
template<typename Stream , typename T >
using bitstream::inout = std::conditional_t< Stream::writing, in< T >, std::add_lvalue_reference_t< T > >
 Passes by reference. More...
 

Functions

template<typename Lambda >
 bitstream::finally (Lambda func) -> final ly< Lambda >
 

Macro Definition Documentation

◆ BS_CONSTEXPR

#define BS_CONSTEXPR