C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches

Implement insert for tiny sequences. More...

Functions

static void anonymous_namespace{chapter-5.cpp}::test_exercise_5_3 ()
 Tests for Exercise 5-3.
 

Detailed Description

Implement insert for tiny sequences.

5-3. Drawing on the example of our push_back implementation, implement insert
     for tiny sequences.  Refactor the implementation of push_back so that it
     shares more code with insert.

Function Documentation

◆ test_exercise_5_3()

static void anonymous_namespace{chapter-5.cpp}::test_exercise_5_3 ( )
static

Tests for Exercise 5-3.

Definition at line 215 of file chapter-5.cpp.