C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
chapter5::tiny_insert< Tiny, T, N > Struct Template Reference

Insert into the tiny sequence. More...

Detailed Description

template<typename Tiny, typename T, int N>
struct chapter5::tiny_insert< Tiny, T, N >

Insert into the tiny sequence.

If the sequence is full, this will not drop elements, it will fail an assertion and abort compilation.

Template Parameters
TinyThe sequence to augment.
TThe new element to add.
NThe current size of Tiny.

Definition at line 123 of file chapter-5-tiny.hpp.


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