I am having a little trouble in C++ with a struct that shall contain a unique_ptr. A part of the struct is
struct test { std::vector <std::unique_ptr<function>> allFunctions; } where
function is another struct. I always get C2280 attempting to reference a deleted function
As you might suspect I am quite new to C++ and have not much experience. And i HAVE TO use an unique_ptr, since this is part of an exercise.
Thank you already for your help! :)