← API Reference Namespace

asge::game

Namespaces

Classes & Structs

Typedefs

#using is_game = decltype(is_game_helper(std::declval< TDerived & >()))

True (as a type) if TDerived publicly derives from some Game<T> — see is_game_v.

Variables

#constexpr bool is_game_v = is_game<TDerived>::value

True if TDerived publicly derives from some Game<T> — the constraint Application<TGame> requires.

Functions

#template<typename T> std::true_type is_game_helper(Game< T > const volatile &)

Detects (via derived-to-base conversion) whether TDerived derives from some Game<T>.

#std::false_type is_game_helper(...)