struct add_module_struct : tokenoperator::dte_token::function::basic_function {
using tokenoperator::dte_token::function::basic_function::basic_function;
void execute(tokenoperator::dte_token::function::bf_args* argumentspointer, uint64_t* errorcodepointer = nullptr, bool forced = false, tokenoperator::dte_token::function::stack* callstack = nullptr, tokenoperator::dte_token::stream::stream* caller = nullptr); //to do if only in .cpp file definition, error LNK2001
};
void add_module_struct::execute(bf_args* argumentspointer, uint64_t* errorcodepointer, bool forced, stack* callstack, stream* caller) {
USE_STACK
//to do (if forced, module will be replaced)
}
execute(bf_args* argumentspointer, uint64_t* errorcodepointer, bool forced, stack* callstack, stream::stream* caller)
execute(bf_args* argumentspointer, uint64_t* errorcodepointer, bool forced, stack* callstack, stream* caller)
Any(double n, double i) {}
В некоторых книгах/курсах по программированию есть эталонные или ожидаемые варианты решений. Думаю, что стоит сравнивать свое решение или его часть с предложенным вариантом. Можно также попытаться изучить (не запоминать), а после попытаться самостоятельно воссоздать его и проанализировать.