RE: [boost] Re: FYI Lambda Question

-----Original Message----- On Behalf Of Aleksey Gurtovoy Subject: [boost] Re: FYI Lambda Question Brian Braatz writes:
We MIGHT have some missing files? I am about to convert to boost 1.32 I am still on 1.31. In the 1.31 zip file I downloaded (and am using), the header does not exist in the utility dir.
That's 'cause 'result_of' was introduced in 1.32.
I grepped the boost tree for result_of and only found one comment in transform_iterator.hpp which is stated as a question ("do we need to adjust the way function_object_result is computed for the standard proposal (e.g. using Doug's result_of)?") (line 64).
The link to the web page you sent me points to a HPP file. This file does not seem to exist in utility. For experimenting, I copied the file referenced in the page below to boost\utility. It complained on the line
#include <boost/mpl/has_xxx.hpp>
That has_xxx.hpp does not exist.
Again, it does in 1.32.
Thanks you *very much* for help here. This issue is pushing me to convert to 1.32 (which is good- I am doing that NOW). And without help from everyone who is added thoughts, I would still be in the bicycle shed. (I still am but I now see the door). :) Once I get converted and get my code working, I will post to this list a quick how to on what the resolution to the original question was (this way other folks can find the solution in the future by searching mail archives). ****************** SEPARATE THREAD: It would be nice if boost doc pages pointed to a WIKI or something for people to add things to the documentation (not officially added mind you- just ammendums)(similar to how people can comment on products on amazon.com for example) . I.e. once I get code working on how to deduce return type from a lambda functor, it would be nice if I could put that info someplace easy for others to find. OR- Is the solution for me to write up a page of documentation and simply request it be added to the lambda documentation? (which raises the issue)- is there any process for this? Thanks Again Guys. It is the people that give boost the real "boost" :)

Brian Braatz writes:
****************** SEPARATE THREAD:
A side note: it's generally encouraged to start a new topic by posting a new, correspondingly named message; for one, it improves chances that the fresh content will be noticed and responded to by interested parties.
It would be nice if boost doc pages pointed to a WIKI or something for people to add things to the documentation (not officially added mind you- just ammendums)(similar to how people can comment on products on amazon.com for example) .
I suppose you mean particular library's documentation pages pointing to particular wiki pages. Otherwise it's already there (http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl, referenced from the Boost main page). In any case, please see below.
I.e. once I get code working on how to deduce return type from a lambda functor, it would be nice if I could put that info someplace easy for others to find. OR- Is the solution for me to write up a page of documentation and simply request it be added to the lambda documentation?
Most often this is a preferred way.
(which raises the issue)- is there any process for this?
1) Query the library maintainers for the interest/making sense. 2) Write it up. 3) Send it here. HTH, -- Aleksey Gurtovoy MetaCommunications Engineering
participants (2)
-
Aleksey Gurtovoy
-
Brian Braatz