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

#include <inplace_buffer.hh>

Public Member Functions

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

Detailed Description

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

Definition at line 30 of file inplace_buffer.hh.

Constructor & Destructor Documentation

◆ inplace_buffer() [1/3]

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

Definition at line 41 of file inplace_buffer.hh.

◆ inplace_buffer() [2/3]

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

Definition at line 46 of file inplace_buffer.hh.

References ranges::fill(), and t.

◆ inplace_buffer() [3/3]

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

Definition at line 53 of file inplace_buffer.hh.

References begin().

Member Function Documentation

◆ back()

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

Definition at line 77 of file inplace_buffer.hh.

◆ explicit()

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

Definition at line 59 of file inplace_buffer.hh.

◆ front()

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

Definition at line 73 of file inplace_buffer.hh.


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