ViennaGrid - The Vienna Grid Library
2.1.0
|
A class for injecting additional members into topological elements (Vertex, Edge, etc.) More...
#include <element.hpp>
A class for injecting additional members into topological elements (Vertex, Edge, etc.)
This way a user can add for example a member 'color' (and/or accessor functions) to a vertex by overloading this class suitably. Make sure the same overload is used/visible in all compilation units when linking object files together!