Regina Calculation Engine
regina::detail::FaceListHolder< class, int > Struct Template Reference

Helper class that indicates what data type Base uses to store its list of subdim-faces. More...

Detailed Description

template<class, int>
struct regina::detail::FaceListHolder< class, int >

Helper class that indicates what data type Base uses to store its list of subdim-faces.

Typically Base will represent a triangulation, or one of its components or boundary components. The typedef FaceListHolder<Base, subdim>::Holder represents the type that Base uses to store its subdim-faces.

Base should have a template function faces<subdim>() that returns a const reference to this type. That is, Base::faces<subdim> should have return type const FaceListHolder<Base, subdim>::Holder&.

For each such class Base, this FaceListHolder template should be specialised in the same header where Base is defined. For all other types T, the template class FaceListHolder<T, subdim> will remain undefined.


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

Copyright © 1999-2020, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).