Class for polynomials using std::move and std::forward