I have a question about the this
pointer in C++.
If I create a pointer,
std::shared_ptr<SomeClass> instance_1;
Is the this
pointer of instance_1
also a shared pointer?
The reason I ask this question is, if I start another thread in its method using pointer this
. Will it copy the shared_ptr
?