#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | alpaqa |
namespace | alpaqa::util |
namespace | alpaqa::util::detail |
Typedefs | |
template<class NewAlias , class... PossibleAliases> | |
using | possible_alias_t = std::conditional_t< detail::any_is_same< NewAlias, PossibleAliases... >(), detail::dummy< NewAlias, PossibleAliases... >, NewAlias > |
If NewAlias is not the same type as any of PossibleAliases , the result is NewAlias . | |
Functions | |
template<class A , class... Bs> | |
constexpr bool | any_is_same () |
Check if A is equal to any of Bs . | |