Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit f5a2dc2871.
PrevUpHomeNext
field_view::get_string

Retrieves the underlying value as a string (unchecked access).

Synopsis
constexpr string_view
get_string() const;
Preconditions

this->is_string() == true (if violated, results in undefined behavior).

Exception safety

No-throw guarantee.

Object lifetimes

The returned view has the same lifetime rules as *this (it's valid as long as *this is valid).


PrevUpHomeNext