
17 Oct
2008
17 Oct
'08
5:07 p.m.
What is wrong with typedef nsphere<2> circle; ?
Actually I made a mistake in the mail where I was talking about nshpere<2>, the class would obviously not take the dimension directly but the point type, which is itself of a certain dimension. So I guess we'd rather have something like: template <class P> struct circle: nsphere<P> { BOOST_STATIC_ASSERT(/*assert here that the dimension is 2*/); } Bruno