unique_ptr and templateAhh yes, dynamic only goes between inherited types, overlooked that. Would a reinterpret cast naivel...
unique_ptr and templateThanks for that. Would an std::move be used somehow? I was confused with the wrapped typed influen...
unique_ptr and templateYup that works perfect. [output]Compilation error time: 0 memory: 3432 signal:0 prog.cpp: In funct...
unique_ptr and templateThanks for the quick reply. something like this? [code] std::cout << v[0]->x << " then " << v[1]-...
unique_ptr and templateQuick question: [code]#include <iostream> #include <vector> #include <memory> struct Base { ...
This user does not accept Private Messages