algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::strategy::StrategyConformance< S, Ctx > Struct Template Reference

The checks behind ATL_ASSERT_STRATEGY; instantiating it reports what is wrong with S. More...

#include <algotradelib/src/strategy/concept.hpp>

Static Public Attributes

static constexpr bool value = strategy_detail::compiles_every_handler_call<S, Ctx>()
 Always true; reading it compiles every handler call the runner makes with Ctx.

Detailed Description

template<typename S, typename Ctx>
struct algotradelib::strategy::StrategyConformance< S, Ctx >

The checks behind ATL_ASSERT_STRATEGY; instantiating it reports what is wrong with S.

Template Parameters
SThe strategy type.
CtxThe context type the runner passes.

Definition at line 663 of file concept.hpp.

Member Data Documentation

◆ value

template<typename S, typename Ctx>
bool algotradelib::strategy::StrategyConformance< S, Ctx >::value = strategy_detail::compiles_every_handler_call<S, Ctx>()
staticconstexpr

Always true; reading it compiles every handler call the runner makes with Ctx.

Definition at line 691 of file concept.hpp.


The documentation for this struct was generated from the following file: