
20 Nov
2007
20 Nov
'07
8:37 a.m.
On Nov 20, 2007 8:43 AM, Dean Michael Berris <mikhailberis@gmail.com> wrote:
[...] Recently, I've implemented a simple utility which allows users to select the nth element of an STL pair / Boost.Tuple in conjunction with STL algorithms. [...]
This doesn't return the right thing with non const parameters. A very simple result_of compatible wrapper around fusion::at_c will do. In fact I think that fusion should provide function objects for every one of its algorithm. HTH, gpd