I am inside a namespace:
typedef std::shared_ptr<CInboundEvent> CInboundEventPtr;
class CInboundEvent : public std::enable_shared_from_this<CInboundEvent>
No try and use "encapsulate field".
This resultzs in:
Events::CInboundEventPtr GetNextEvent() const
void SetNextEvent(Events::CInboundEventPtr val)
m_spNextEvent = val;
I would like to have no namespace here. Yes it is correct. But I am in this namespace. So why to use it?