Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Assign][doc] Question on a statement in the documentation
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-10-28 08:28:11


Hi Alexander
> Here
>
> http://www.boost.org/doc/libs/1_40_0/libs/assign/doc/index.html#extensions
>
> is stated
> "it is illegal to take the address of a function in the standard library"
>
> Is it correct? Where is it mentioned in the Standard?
>
> 17.4.4.4/2 says that a member function may be replaced with the version with
> other signature, but
> a) "a member function" != "a function"
> b) May be replaced with the version with other signature doesn't mean one
> cannot take its address, it only means taking its address doesn't make sense
> for portable code.

I believe you are correct.

Thanks

-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