Boost logo

Boost :

Subject: Re: [boost] [Bind] How do I get bind to deduce the return type offor_each?
From: Sylvester-Bradley, Gareth (Gareth.Sylvester-Bradley_at_[hidden])
Date: 2010-04-15 05:51:27


> I have been trying to use Boost.bind to create an 'STL algorithm
function
> object' to pass into another, 'higher order,' STL algorithm (e.g., to
pass
> a for_each into a for_each). However, I am struggling to get bind to
> deduce the correct return type of the for_each function object.

The following might help:

http://www.boost.org/doc/libs/1_42_0/doc/html/lambda/le_in_details.html#
lambda.nested_stl_algorithms

Best regards,
Gareth

************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.

This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk