|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-07-11 08:38:38
Shunsuke Sogame wrote:
> Hi,
>
> void foo()
> { }
>
> void test()
> {
> boost::addressof(::foo);
> }
>
>
> doesn't compile under GCC 3.4.4.
> What happens?
"Function addressof() returns the address of an object."
foo is not an object.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk