Quick Links:

bal | bbl | bdl | bsl

Namespaces

Component bsltf_convertiblevaluewrapper
[Package bsltf]

Provide a wrapper class, convertible to a supplied value. More...

Namespaces

namespace  bsltf

Detailed Description

Outline
Purpose:
Provide a wrapper class, convertible to a supplied value.
Classes:
bsltf::ConvertibleValueWrapper wrapper of a value-semantic class
See also:
Component bsltf_templatetestfacility
Description:
This component provides a struct that holds an object of a template parameter type, and provides implicit conversions to, and from, that type. A bsltf::ConvertibleValueWrapper facilitates testing of function templates whose contract requires a type that is "convertible to the specified type". It also ensures that this uses up the one user-defined conversion in permitted in the conversion sequence, rather than accidentally relying on a built-in conversion such as type promotion.
Usage:
This section illustrates intended use of this component.
Example 1: TBD: