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.