Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5857: proto::function undocumented for use in grammars
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-19 23:42:39
#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 eric_niebler):
John, there is really nothing special to say about {{{proto::function}}}
distinct from all the other operator metafunctions in Proto. The multiple
uses of these metafunction is discussed [http://tinyurl.com/7fgy69s here].
Is that insufficient?
Also, {{{proto::function}}} doesn't "enable the function call operator for
protoized types," which makes me think you were trying to say something
else(?). Functions that need to return lazy expressions /could/ use
{{{proto::function}}} (it is a metafuntion that generates expressions, as
described in the above link), but the better tool for that job is
{{{proto::make_expr}}}.
I feel like you went looking for something in the docs and didn't find it,
but I'm not entirely sure what. Now that you know a little more, and you
know where in the docs it's described, do you have any suggestions for
making the docs more useful?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5857#comment:2> 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:09 UTC