Boost logo

Boost :

From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-08-23 12:09:06


Michael Stevens wrote:
> ublas/matrix.hpp", line 1030: warning #504-D:
> nonstandard form for taking the address of a member function
> size1_ (ae ().size1 ()), size2_ (ae ().size2 ()), data_ (functor_type::size1
> (size1, size2) + 1) {
>
> The warning point to the functor_type::size1(size1,size2). The compiler is
> getting this very wrong. There is no address to be taken here! It should be
> calling the static 'size1' member of the functor_type. This is probably the
> cause of a few further failures.

I do not know if size1 is template function, but if it is that I think
that Comeau is right. If functions should be called, then maybe
"size1, size2" (lines 1030, 1031, 1032) should be replaced with
"functor_type::size1(), functor_type::size2()" ?

B.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk