|
Boost : |
From: Michael Fawcett (michael.fawcett_at_[hidden])
Date: 2008-05-06 13:49:57
On Tue, May 6, 2008 at 1:42 PM, Simonson, Lucanus J
<lucanus.j.simonson_at_[hidden]> wrote:
>
> But it still bugs me that I don't know why the compiler thought that
> point_traits<T>::get was a function pointer and tried to apply the
> operator< with orient, but does the right thing when I instantiate the
> traits struct and use the . operator to access the same function. The .
> operator could also produce a function pointer.
Try:
point_traits<T>::template get<0>(pt);
--Michael Fawcett
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk