This namespace provides functions that expose "nullable" behavior for "nullable value" types. See the component‐level documentation for more information.

Types

Name

Description

IsNullableValue

This struct should be specialized for third‐party types that need to expose "nullable" behavior. See the component‐level documentation for further information.

ValueType

This meta‐function should contain a typedef Type that specifies the type of value stored in a nullable type of the parameterized TYPE.

Functions

Name

Description

accessValue

Invoke the specified accessor on the non‐modifiable value stored in the specified "nullable" object. The supplied accessor must be a callable type that can be called as if it had the following signature: ` int accessor(const VALUE_TYPE& value); ` Return the value from the invocation of accessor. The behavior is undefined unless object does not contain a null value.

bdlat_nullableValueAccessValue

bdlat_nullableValueAccessValue overloads

bdlat_nullableValueIsNull

bdlat_nullableValueIsNull overloads

bdlat_nullableValueMakeValue

bdlat_nullableValueMakeValue overloads

bdlat_nullableValueManipulateValue

bdlat_nullableValueManipulateValue overloads

isNull

Return true if the specified "nullable" object contains a null value, and false otherwise.

makeValue

Assign to the specified "nullable" object the default value for the contained type.

manipulateValue

Invoke the specified manipulator on the address of the value stored in the specified "nullable" object. The supplied manipulator must be a callable type that can be called as if it had the following signature: ` int manipulator(VALUE_TYPE *value); ` Return the value from the invocation of manipulator. The behavior is undefined unless object does not contain a null value.

Created with MrDocs