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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template optional

boost::xpressive::optional — Make a sub-expression optional. Equivalent to !as_xpr(expr).

Synopsis

template<typename Expr> unspecified optional(Expr const & expr);

Description

Parameters:

expr

The sub-expression to make optional.


PrevUpHomeNext