Package namespace for BSL template‐testing facility types and helpers.

Types

Name

Description

AllocArgumentType

Allocator‐aware integer wrapper uniquely typed for each template value N.

AllocBitwiseMoveableTestType

Allocating, bitwise‐moveable unconstrained value‐semantic test type.

AllocEmplacableTestType

Allocator‐aware test type for verifying in‐place constructor arguments.

AllocTestType

Allocating unconstrained value‐semantic test type.

ArgumentType

Non‐allocating integer wrapper that tracks copy and move operations.

ArgumentTypeByValue

Pass‐by‐value wrapper that avoids a C++03 conversion ambiguity.

ArgumentTypeDefault

Empty default‐argument initializer for ArgumentType parameters.

BitwiseCopyableTestType

Bitwise‐copyable unconstrained value‐semantic test type.

BitwiseMoveableTestType

Bitwise‐moveable unconstrained value‐semantic test type.

ConvertibleValueWrapper

Wrapper around a CopyConstructible TYPE that converts implicitly to and from TYPE.

CopyMoveState

Namespace for enumerators and helpers describing copy/move history of test objects.

CopyMoveTracker

Type that tracks whether it has been copied into, moved into, or moved from.

DegenerateFunctor

Awkward CopyConstructible functor adapter for testing generic code.

EmplacableTestType

Non‐allocating test type for verifying in‐place constructor arguments.

EnumeratedTestType

Namespace for an enumeration used to facilitate template testing.

EvilBooleanType

Awkward test type that is convertible to bool.

InputIterator

Pure input iterator over a contiguous range of TYPE objects.

InputIteratorUtil

Utility for creating InputIterator begin and end iterators.

MovableAllocTestType

Allocating test type that records when move semantics are used.

MovableTestType

Non‐allocating test type that records when move semantics are used.

MoveOnlyAllocTestType

Move‐only, allocator‐aware unconstrained attribute type for testing.

MoveState

Namespace for enumerators describing whether a test object was moved.

NonAssignableTestType

This unconstrained (value‐semantic) attribute class does not provide an assignment operator.

NonCopyConstructibleTestType

This unconstrained (value‐semantic) attribute class does not provide a copy constructor.

NonDefaultConstructibleTestType

This unconstrained (value‐semantic) attribute class does not provide a default constructor.

NonEqualComparableTestType

This unconstrained (value‐semantic) attribute class does not provide equality‐comparison operators.

NonOptionalAllocTestType

Unconstrained value‐semantic test type that allocates with bslma::Allocator.

NonTypicalOverloadsTestType

Value‐semantic test type that asserts on non‐typical operator overloads.

SimpleTestType

Non‐allocating unconstrained value‐semantic test type without traits.

StdAllocTestType

Unconstrained attribute class that allocates with a standard allocator.

StdAllocatorAdaptor

Provide a facade allocator that propagates adapted allocator state.

StdStatefulAllocator

Standard‐compliant test allocator that wraps a distinct allocator state.

StdTestAllocator

Minimal C++03‐compliant allocator that delegates to a global allocator.

StdTestAllocatorConfiguration

Provide a namespace for configuring the StdTestAllocator delegate.

StdTestAllocatorConfigurationGuard

Scoped guard that temporarily replaces the StdTestAllocator delegate.

StdTestAllocator_CommonUtil

This struct provides a namespace for utilities that are common to all instantiations of the StdTestAllocator class template.

TemplateTestFacility

Namespace providing helpers for creating and identifying test objects.

TemplateTestFacility_CompareHelper

Component‐private helper providing equality comparisons for test types.

TemplateTestFacility_StubClass

Stub class providing identifiable method pointers for testing.

TestValuesArray

Container of test values exposing misuse‐detecting input iterators.

TestValuesArrayIterator

STL‐conforming input iterator over values used for testing.

TestValuesArraySentinel

Sentinel marking the past‐the‐end position for TestValuesArrayIterator.

TestValuesArray_DefaultConverter

Default converter creating a VALUE from a character identifier.

TestValuesArray_PostIncrementPtr

Wrapper providing non‐modifiable access to a TestValuesArray element.

UnionTestType

This union provides a union test type to facilitate testing of templates.

WellBehavedMoveOnlyAllocTestType

Move‐only allocating test type that records well‐behaved move state.

Functions

Name

Description

copyMoveState

copyMoveState overloads

debugprint

debugprint overloads

getMovedFrom

getMovedFrom overloads

getMovedInto

getMovedInto overloads

setCopyMoveState

setCopyMoveState overloads

setMovedInto

Set the moved‐into state of the specified object to the specified value.

swap

swap overloads

operator<<

Stream insertion operators

operator!

Return true if value is e_ORIGINAL; otherwise return false.

operator==

Equality operators

operator!=

Inequality operators

Created with MrDocs