Open Search
    Substitute< T, R > Class Template Reference

    #include <apibase.h>

    Inheritance diagram for Substitute< T, R >:

    Detailed Description

    template<typename T, typename R>
    class maxon::Substitute< T, R >

    This transformation type trait can be used to substitute the underlying type of T by R. U gets replaced by R, U& by R&, U&& by R&&, and the same with const U/const R.

    Template Parameters
    TOriginal type.
    RType which shall be used for replacement.

    Additional Inherited Members

    - Public Types inherited from InheritConst< R, T >
    using type = R