BloombergLP::bsls::AssertTest::isValidExpectedLevel

Return whether specChar is a valid expected assertion level.

Synopsis

Declared in <bsls_asserttest.h>

static
bool
isValidExpectedLevel(char specChar);

Description

Return true if the specified specChar represents a valid description of the expected assert level, and false otherwise. specChar is valid if it is either a O (for OPT), S (for SAFE), A (for ASSERT), or I (for INVOKE).

Return Value

true if specChar is a valid expected level, else false

Parameters

NameDescription
specCharexpected assertion-level character