Код: Выделить всё
#include
#include
#include
template
class baseX{
private:
protected:
std::string N_;
std::vector A_;
public:
baseX(std::string const N):N_{N}{};
baseX(std::vector const &X):A_{X}{};
};
baseX * base_constructor_1(Rcpp::NumericVector &A){
std::vector X;
for(int i=0;i library(BBB)
> x x
Спасибо
Примечание: ОС Linux
Версия R: 4.3.3
Версия Rcpp: 1.0.12
Компилятор C++: g++ 13.2.1
Подробнее здесь: https://stackoverflow.com/questions/783 ... ericvector
Мобильная версия