Provide an allocating test class to represent function arguments.
More...
Namespaces |
namespace | bsltf |
Detailed Description
- Outline
-
-
- Purpose:
- Provide an allocating test class to represent function arguments.
-
- Classes:
bsltf::AllocArgumentType<N> | simple wrapper around an allocated int |
- See also:
- Component bsltf_argumenttype, Component bsltf_templatetestfacility
-
- Description:
- This component provides a representation of an allocating argument type template class,
bsltf::AllocArgumentType<N>
, used for testing functions that take a variable number of template arguments. The integer template parameter enables specification of a number of types without requiring a separate component for each. Note that default-constructed object of this type does not allocate any memory. Also note, that copy or move of the default-constructed object also does not allocate any memory. Copy and move constructors are defined.
-
- Attributes:
Name Type Default
------------------ ----------- -------
data int -1
-
data
: representation of the class value
-
- Usage:
- This section illustrates intended use of this component.
- See
bsltf_argumenttype
for usage example.