BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsltf_allocargumenttype

Detailed Description

Outline

Purpose

Provide an allocating test class to represent function arguments.

Classes

See also
bsltf_argumenttype, 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

Usage

This section illustrates intended use of this component.

See bsltf_argumenttype for usage example.