Return whether val is a valid CopyMoveState::Enum value.

Synopsis

Declared in <bsltf_copymovestate.h>

static
bool
isValid(Enum val);

Description

Return true if the specified val is a valid value of Enum; otherwise false. A valid value is any of the enumerators or the bitwise OR of any of the enumerators except e_UNKNOWN with e_MOVED_FROM.

Return Value

true if val is a valid Enum value, else false

Parameters

Name

Description

val

enumeration value to validate

Created with MrDocs