Boost logo

Boost :

From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2000-08-30 16:43:41


> This should work just fine, and I don't think there is a std namespace
> problem:
>
This is the exact same problem I had with swap.

namespace std {
  template<class T, class S, class R>
  swap(myType<T,S,R>, myType<T,S,R> );
}

is illegal. So unless I'm confused, and it wouldn't be the first time, you
can't change the number of template arguments. (I don't have a copy of the
std reference. If you want I can look up the stuff Alan G. cited, I'm sure
the discussion is in the boost archive.)

  Yours Truly,

   -gary-

gary.powell_at_[hidden]


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