iffl  1.3.4
Implements Intrusive Flat Forward List container
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
iffl::size_with_padding< ALIGNMENT_V > Class Template Reference

Vocabulary type that describes an size and template parameter that specifies element's type alignment requirements. More...

#include <iffl_common.h>

Public Member Functions

constexpr size_t size_padded () const noexcept
 
constexpr size_t padding_size () const noexcept
 

Public Attributes

size_t size { 0 }
 Not padded size.
 

Static Public Attributes

static constexpr size_t const alignment { ALIGNMENT_V }
 Element's type alignment requirements.
 

Detailed Description

template<size_t ALIGNMENT_V>
class iffl::size_with_padding< ALIGNMENT_V >

Vocabulary type that describes an size and template parameter that specifies element's type alignment requirements.

Template Parameters
ALIGNMENT_V- alignment requirements of the element's type

Member Function Documentation

◆ padding_size()

template<size_t ALIGNMENT_V>
constexpr size_t iffl::size_with_padding< ALIGNMENT_V >::padding_size ( ) const
inlinenoexcept
Returns
Returns size of padding

◆ size_padded()

template<size_t ALIGNMENT_V>
constexpr size_t iffl::size_with_padding< ALIGNMENT_V >::size_padded ( ) const
inlinenoexcept
Returns
Returns size padded to alignment

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