H
Hicham Mouline
hello,
template <typename A>
class X {
public:
X( const A& );
private:
const A& a_;
};
user code: Is there a way to have arg A deducted in this code:
double d =5.6;
X x(d);
I would have used a templated ctor but, i need to store the private member
variable as well.
rds,
template <typename A>
class X {
public:
X( const A& );
private:
const A& a_;
};
user code: Is there a way to have arg A deducted in this code:
double d =5.6;
X x(d);
I would have used a templated ctor but, i need to store the private member
variable as well.
rds,