The concept ArrangementDcelWithRebind refines the ArrangementDcel concept by adding a policy clone idiom in form of a rebind struct-template.
Instantiate a dcel class with many different possible types without ad-hoc limitations on type of the dcel classes.
template <class T> | |
ArrangementDcelWithRebind:: rebind | |
allows the instantiation of a model of the base concept
ArrangementDcel with a different possible geometry-traits
class without ad-hoc limitations on it.
Following the standard clone policy, the rebind struct-template must have a nested type named other that defines the type of the model replica.
|
ArrangementDcelWithRebind dcel; | |
constructs an empty Dcel with one unbouned face.
|