8 A(
double x): _x(x), _n(1) {};
10 A(
A const & rhs) =
default;
11 A(
A && rhs) =
default;
18 return std::pow(_x,_n);
23 const_cast<int&
>(_n) = n;
37 cout << xa.
pow() << endl;
A & operator=(A const &rhs)=delete
A & operator=(A &&rhs)=default