6#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_IGNORE_HPP_
7#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_IGNORE_HPP_
15#include "stdlib/include/stdlib_detail/cstddef.hpp"
55 template <
typename Arg>
A class that anything can be assigned to, and which discards the assigned object.
Definition ignore.hpp:20
constexpr auto operator=(ignore_t &&) noexcept -> ignore_t &=default
Default move-constructor.
constexpr ignore_t(ignore_t &&)=default
Default move-constructor.
~ignore_t()=default
Default destructor.
constexpr ignore_t(ignore_t const &)=default
Default copy-constructor.
constexpr auto operator=(Arg const &) const noexcept -> ignore_t const &
Do-nothing catch-all assignment operator.
Definition ignore.hpp:57
constexpr auto operator=(ignore_t const &) noexcept -> ignore_t &=default
Default copy-assignment.
constexpr ignore_t()=default
Default constructor.
constexpr ignore_t ignore
An object to which anything can be assigned, which ignores the assigned value.
static constexpr auto const & ignore
An object to which anything can be assigned, which ignores the assigned value.
Definition ignore.hpp:72
constexpr auto operator()(::arene::base::result< void, E > const &value) const noexcept(noexcept(hash< E >{}(std::declval< E const & >()))) -> std::size_t
Calculate the hash of a result.
Definition result.hpp:1827