DGtal 2.1.0
Loading...
Searching...
No Matches
Tool< Container, T > Struct Template Reference

Static Public Member Functions

static void add (Container &c, const T &obj)
 

Detailed Description

template<typename Container, typename T>
struct Tool< Container, T >

Definition at line 47 of file testIteratorFunctions.cpp.

Member Function Documentation

◆ add()

template<typename Container , typename T >
static void Tool< Container, T >::add ( Container &  c,
const T &  obj 
)
inlinestatic

Definition at line 49 of file testIteratorFunctions.cpp.

50 {
51 c.push_back(obj);
52 }

Referenced by testAdvance(), testMiddle(), testRange(), and testSize().


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