detect if a type has a size_t member
Hicham Mouline <hicham <at> mouline.org>
2009-07-03 15:52:18 GMT
Hello
template <typename T>
struct S {
// how to detect T has a member static const size_t value ?
// if T has value, define member of S, m1 of type T1, otherwise m2 of
type T2
};
Regards,