Go to the source code of this file.
|
namespace | mpc::detail |
| Implementation details are here.
|
|
namespace | mpc::cpo |
| Customization point objects are here.
|
|
|
template<class Fa , class Fb >
requires std::same_as<std::remove_cvref_t<Fa>, std::remove_cvref_t<Fb>> |
constexpr auto | mpc::operators::alternatives::operator|| (Fa &&fa, Fb &&fb) noexcept(noexcept(mpc::combine(std::forward< Fa >(fa), std::forward< Fb >(fb)))) -> decltype(mpc::combine(std::forward< Fa >(fa), std::forward< Fb >(fb))) |
| combine :: f a -> f a -> f a More...
|
|
◆ operator||()
template<class Fa , class Fb >
requires std::same_as<std::remove_cvref_t<Fa>, std::remove_cvref_t<Fb>>
constexpr auto mpc::operators::alternatives::operator|| |
( |
Fa && |
fa, |
|
|
Fb && |
fb |
|
) |
| -> decltype( mpc::combine(std::forward<Fa>(fa), std::forward<Fb>(fb))) |
|
inlineconstexprnoexcept |
combine :: f a -> f a -> f a
(<|>) in Haskell