Boost logo

Boost :

From: Rodrigo Canellas (canellas_at_[hidden])
Date: 2000-07-07 08:46:37


Hi!!

Suppose I have:

template <class T>
class X {
 // many things...
 template <class M>
 void f(M &m);

};

My question is: what is the syntax for the definition of method f, I mean, I
want to define it outside X?

Something like:

template <class T>
void
template <class M>
X<T>::f<M>(M &m) {}

Txs!!!


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