#pragma once #include class Jacobstahl { public: Jacobstahl(); Jacobstahl(const Jacobstahl &other); Jacobstahl(Jacobstahl &&other) noexcept; Jacobstahl &operator=(const Jacobstahl &other); Jacobstahl &operator=(Jacobstahl &&other) noexcept; ~Jacobstahl(); int get(int n); private: int getRecursive(int n); std::vector _jacobstahl_numbers; };