DGtal 1.3.0
Loading...
Searching...
No Matches
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;
...
}
void example()
We use FMM to compute a distance field from a given point.
int main()
Definition: testBits.cpp:56

Definition at line 72 of file StdRebinders.h.


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