openMSX
Public Member Functions | List of all members
small_buffer< T, BUF_SIZE > Class Template Reference

#include <small_buffer.hh>

Public Member Functions

 small_buffer (uninitialized_tag, size_t size)
 
 small_buffer (size_t size, const T &t)
 
template<typename Range >
 small_buffer (const Range &range)
 
 explicit (false) operator std
 
T & front ()
 
T & back ()
 

Detailed Description

template<typename T, size_t BUF_SIZE>
class small_buffer< T, BUF_SIZE >

Definition at line 26 of file small_buffer.hh.

Constructor & Destructor Documentation

◆ small_buffer() [1/3]

template<typename T , size_t BUF_SIZE>
small_buffer< T, BUF_SIZE >::small_buffer ( uninitialized_tag  ,
size_t  size 
)
inlineexplicit

Definition at line 31 of file small_buffer.hh.

◆ small_buffer() [2/3]

template<typename T , size_t BUF_SIZE>
small_buffer< T, BUF_SIZE >::small_buffer ( size_t  size,
const T &  t 
)
inlineexplicit

Definition at line 41 of file small_buffer.hh.

References ranges::fill(), and t.

◆ small_buffer() [3/3]

template<typename T , size_t BUF_SIZE>
template<typename Range >
small_buffer< T, BUF_SIZE >::small_buffer ( const Range &  range)
inlineexplicit

Definition at line 48 of file small_buffer.hh.

References begin().

Member Function Documentation

◆ back()

template<typename T , size_t BUF_SIZE>
T & small_buffer< T, BUF_SIZE >::back ( )
inline

Definition at line 70 of file small_buffer.hh.

◆ explicit()

template<typename T , size_t BUF_SIZE>
small_buffer< T, BUF_SIZE >::explicit ( false  )
inline

Definition at line 54 of file small_buffer.hh.

◆ front()

template<typename T , size_t BUF_SIZE>
T & small_buffer< T, BUF_SIZE >::front ( )
inline

Definition at line 66 of file small_buffer.hh.


The documentation for this class was generated from the following file: