|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-10-24 09:06:54
Markus Schöpflin wrote:
> Hmm, have a look at this:
>
> ---%<---
> template <class T> struct foo {
> void bar() { foobar(); }
> };
This call to foobar is not dependent on T. Try
template <class T> struct foo
{
void bar( T * p ) { foobar( p ); }
};
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk