$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Hicham Mouline (hicham_at_[hidden])
Date: 2007-11-27 11:23:15
hi,
Is it possible to define some member functions conditionally on integral template argument values?
template <int n>
class C {
void f1();
void f2();
....
void f6(); // should be a member only if n==3 for e.g.
};
I could specialize this template and then i would have to define f1..5()
for both the general case and the special case(n==3).
rds,