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 to view this page for the latest version.
PrevUpHomeNext

Function template optional

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

Synopsis

template<typename Xpr> unspecified optional(Xpr const & xpr);

Description

Parameters:
xpr

The sub-expression to make optional.

Copyright © 2003, 2004 Eric Niebler

PrevUpHomeNext