DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Data Structures
DGtal::StdMapRebinder Struct Reference

#include <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: