If you’re reading this, there probably aren’t very many posts yet. But don’t worry, you can be the first! Either create a new post or just reply to this one to say ‘hi’.
I have question about TShare pointer, why we don’t use * in tshareptr?
In the type definition?
yes we are are using
IOnlineSessionPtr SessionInterface;
without using * ,you told it is similar to pointer,but why we dont use *?
Because it isn’t actually a pointer. It’s small struct like object on the stack that stores a pointer internally.
1 Like