Struct choice_t

Synopsis

#include <src/entt/core/type_traits.hpp>

template<std::size_t N>
struct choice_t
    // Unfortunately, doxygen cannot parse such a construct.
    : /*! @cond TURN_OFF_DOXYGEN */ choice_t<N - 1> /*! @endcond */

Description

Utility class to disambiguate overloaded functions.

Template Parameters

N - Number of choices available.

Source

Lines 17-21 in src/entt/core/type_traits.hpp.

template<std::size_t N>
struct choice_t
    // Unfortunately, doxygen cannot parse such a construct.
    : /*! @cond TURN_OFF_DOXYGEN */ choice_t<N - 1> /*! @endcond */
{};





Add Discussion

Log in to comment