Return true if the string is empty

Synopsis

bool
empty() const noexcept;

Description

Example

assert( decode_view( "" ).empty() );

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

true if the string is empty

Created with MrDocs