BloombergLP::bslstl::StringRefData::cStringLength

Return the number of CHAR_TYPE characters in the specified null-terminated data string, up to but not including the terminal null value.

Synopsis

Declared in <bslstl_stringrefdata.h>

static
std::size_t
cStringLength(CHAR_TYPE const* data);

Return Value

number of characters before the terminal null

Parameters

NameDescription
datanull-terminated string whose length is computed