Boost logo

Boost Users :

From: Hicham Mouline (hicham_at_[hidden])
Date: 2007-11-28 08:17:21


hi,

template <typename CT> class C {
  BOOST_STATIC_ASSERT(...);
};

class D;

I would like to forbid the instantiation of C<D>.

How can i compare CT with D to serve as the condition of the boost static assert=?

rds,


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net