$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [Boost.Assign][doc] Question on a statement in the documentation
From: Alexander Gutenev (gutenev_at_[hidden])
Date: 2009-10-27 12:25:31
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.