I am using the Visitor design pattern in my application for message processing. For example: class AbstractMessageVisitor; class AbstractMessage { public:
I have a variant which can contain 8 different types, some of them under a particular namespace std::variant<T0, T1, T2, ns::T0, ns::T1, ns::T2> v; There