Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
fixed_tuple< T, capacity > Class Template Reference

A fixed tuple is a vector with a templated type and a reserved capacity. More...

#include <cs_Tuple.h>

Inheritance diagram for fixed_tuple< T, capacity >:
Collaboration diagram for fixed_tuple< T, capacity >:

Public Member Functions

 fixed_tuple ()
 Constructor reserves capacity in vector. More...
 
- Public Member Functions inherited from tuple< T >
 tuple ()
 Default constructor. More...
 

Detailed Description

template<typename T, uint8_t capacity>
class fixed_tuple< T, capacity >

A fixed tuple is a vector with a templated type and a reserved capacity.

Wrapper for a std::vector with a default constructor with a particular capacity.

Parameters
TTemplated type of elements in the vector.
capacityPredefined capacity of the underlying std::vector.

Constructor & Destructor Documentation

◆ fixed_tuple()

template<typename T , uint8_t capacity>
fixed_tuple< T, capacity >::fixed_tuple ( )
inline

Constructor reserves capacity in vector.


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