guanaqo 1.0.0-alpha.27
Utilities for scientific software
Loading...
Searching...
No Matches
possible-alias.hpp File Reference

Detailed Description

Utility to guard against accidental template aliases.

Definition in file possible-alias.hpp.

#include <type_traits>
Include dependency graph for possible-alias.hpp:

Go to the source code of this file.

Namespaces

namespace  guanaqo
namespace  guanaqo::detail

Typedefs

template<class NewAlias, class... PossibleAliases>
using guanaqo::possible_alias_t
 If NewAlias is not the same type as any of PossibleAliases, the result is NewAlias.

Functions

template<class A, class... Bs>
constexpr bool guanaqo::detail::any_is_same ()
 Check if A is equal to any of Bs.