Make Visitable Repository and Factory - GerdHirsch/Cpp-VisitorFrameworkCyclicAcyclic GitHub Wiki

This is the definition of the Repository and the Factory of the NonVisitableExample.

class NonVisitable;
using typelist = VisitorFramework::Typelist< NonVisitable, int, double>;

//CAR = CyclicAcyclicRepository
namespace CAR = VisitorFramework::Cyclic;
using Repository = CAR::Repository
<
    VisitorFramework::StdOutLoggingPolicy,
    BaseKind::Default,
    typelist
>;
using Factory = VisitorFramework::VisitableFactory<Repository>;

using Visitable = std::shared_ptr<Repository::Visitable>;
using Visitables = std::vector<Visitable>;
⚠️ **GitHub.com Fallback** ⚠️