hi
i cant use unique pointers i try searching but i didnt find anything usefull just this sites...
C++11 FAQ
and
std::unique_ptr - cppreference.com
!!
so i have still a lot of questions!...
std::unique_ptr<user_pass> conductor( root);//is it true? or it must be new root ?
//user_pass is a link list and root is a pointer that point to the root of the list
i want this unique pointer points to another pointer what should i do?
for example
conductor=root2;// doesnt work
how about making this unique pointer equal to another unique pointer?
i cant use sth like
conductor=conductor->next;
is sth like vector_of_pointers.push_back(*conductor); right??
and also i need an example of using share pointers too!?