DGtal  0.9.3beta
Data Structures
DGtal::StdMapRebinder Struct Reference

#include <DGtal/base/StdRebinders.h>

Data Structures

struct  Rebinder
 

Detailed Description

Rebinder for map type std::map. Use inner type Type. Useful when passing a templated map type as a template argument.

template <typename TMap>
class Example {
struct Key { ... };
struct Node { ... };
typedef typename TMap:: template Rebinder<Key, Node>::Type MapKeyToNode;
...
MapKeyToNode myMap;
};
main()
{
Example<StdMapRebinder> example;
...
}

Definition at line 72 of file StdRebinders.h.


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