Boost logo

Boost Users :

Subject: Re: [Boost-users] [ptr_container] compiler error with BOOST_RESULT_OF_USE_DECLTYPE
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-03-03 15:29:25


Den 03-03-2011 14:39, Michel MORIN skrev:
> Thorsten Ottosen wrote:

> To avoid unnecessary instanciation of result_of,
> we might need to make operator() a function template and
> make its return type a dependent type of its template parameters.
>
> The following code works fine:

Thanks. This is excellent.

I have only made minor changes.

The change is comitted to trunk ... if it goes well, then it can go to
release. Check it out if you have the time.

cheers

-Thorsten


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net