Struct derived_type

Synopsis

#include <include/type_safe/downcast.hpp>

template <typename T>
struct derived_type

Description

Tag type to specify the derived type of a [ts::downcast]().

Pass it as first parameter to the appropriate overload.

Source

Lines 18-20 in include/type_safe/downcast.hpp.

template <typename T>
struct derived_type
{};





Add Discussion as Guest

Log in