F
frs
How can I get an 'always non-const equivalent' for
the type "T" in the following example? Is there something
like a 'non_const_cast' as in the code fragment below?
template<typename T>
class A {
non_const_cast(T) x;
};
meaning that for T = 'const double',
the member x would be of type 'double'.
Thanks and Regards,
Frank
the type "T" in the following example? Is there something
like a 'non_const_cast' as in the code fragment below?
template<typename T>
class A {
non_const_cast(T) x;
};
meaning that for T = 'const double',
the member x would be of type 'double'.
Thanks and Regards,
Frank