25 template <
typename Ctx>
32 template <
typename Ctx>
40 template <
typename Context>
69 template <
typename LabelSet,
typename WeightSet>
75 return std::make_shared<detail::context_wrapper<context_t>>(
ctx);
virtual symbol vname() const override
A description of the context, sufficient to build it.
auto & as()
Downcast to the exact type.
context_wrapper(const context_t &context)
To dyn_cast(From &&from)
A dynamic_cast in debug mode, static_cast with NDEBUG.
auto & as() const
Downcast to the exact type.
boost::flyweight< std::string, boost::flyweights::no_tracking, boost::flyweights::intermodule_holder > symbol
An internalized string.
std::shared_ptr< const detail::context_base > context
A dyn::context.
Template-less root for contexts.
context make_context(const std::string &name)
Build a context from its name.
static dyn::context ctx(const driver &d)
Get the context of the driver.
const context_t context_
The context.
const context_t & context() const