Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5857: proto::function undocumented for use in grammars
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-02 18:45:40
#5857: proto::function undocumented for use in grammars
-------------------------------+--------------------------------------------
Reporter: johnmaddock | Owner: eric_niebler
Type: Bugs | Status: new
Milestone: To Be Determined | Component: proto
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by jfalcou):
proto::function is mainly to activate operator()(...) on proto types.
Th euse of this tag as a way to define new function int he doc is just an
exampel tied to the default_context. A better (as in more scalable) way to
do so (lazy function) is to use make_expr as shown later.
I'll amend the documentation for the operator()() use case.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5857#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC