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

Macro BOOST_PROTO_EXTENDS_FUNCTION

BOOST_PROTO_EXTENDS_FUNCTION — For adding to an expression extension class a set of overloaded function call operators that build expression templates.

Synopsis

// In header: <boost/proto/extends.hpp>

BOOST_PROTO_EXTENDS_FUNCTION()

Description

Use BOOST_PROTO_EXTENDS_FUNCTION() after BOOST_PROTO_BASIC_EXTENDS() to give an expression extension class a set of overloaded function call operators that build expression templates. In addition, BOOST_PROTO_EXTENDS_FUNCTION() adds a nested result<> class template that is a metafunction for calculating the return type of the overloaded function call operators.

See also:


PrevUpHomeNext