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

field::get_date (1 of 2 overloads)
PrevUpHomeNext

Retrieves a reference to the underlying date value (unchecked access).

Synopsis
const date&
get_date() const;
Preconditions

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

Exception safety

No-throw guarantee.

Object lifetimes

The returned reference is valid as long as *this is alive and no function that invalidates references is called on *this.


PrevUpHomeNext