
28 Oct
2009
28 Oct
'09
12:28 p.m.
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