...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A HolderGenerator is a unary metafunction class which returns types suitable for holding instances of its argument in a wrapped C++ class instance.
In the table below, G
denotes an type which
models HolderGenerator, and X
denotes a class
type.
Expression | Requirements |
G::apply<X>::type |
A concrete subclass of instance_holder
which can hold objects of type X .
|
Revised 13 November, 2002
© Copyright Dave Abrahams 2002.
Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.