Boost logo

Boost :

Subject: Re: [boost] boost and vendor's TR1 implementations
From: David Abrahams (dave_at_[hidden])
Date: 2008-11-12 21:33:36


on Wed Nov 12 2008, Sergey Sadovnikov <flex_ferrum-AT-artberg.ru> wrote:

> This code can't be compiled both with g++ 4.3.2 and VS2008 SP1. Both
> compilers "complain" on the "result_type" absence in the binder passed
> to the transform iterator. I suppose what this is the issue in the
> vendor's TR1 implementation

No, it's simpler than that. transform_iterator requires
AdaptableUnaryFunction and the result of tr1::bind is not one of those.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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