6#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_MANIPULATION_CONSUME_VALUES_HPP_
7#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_TYPE_MANIPULATION_CONSUME_VALUES_HPP_
13#include "arene/base/stdlib_choice/enable_if.hpp"
14#include "arene/base/stdlib_choice/initializer_list.hpp"
15#include "arene/base/stdlib_choice/is_same.hpp"
16#include "arene/base/stdlib_choice/remove_cv.hpp"
17#include "arene/base/stdlib_choice/remove_reference.hpp"
24namespace consume_values_detail {
30 constexpr anything() noexcept = default;
35 constexpr anything(anything const& other) noexcept = default;
39 constexpr anything(anything&& other) noexcept = default;
44 constexpr auto operator=(anything const& other) noexcept -> anything& = default;
48 constexpr auto operator=(anything&& other) noexcept -> anything& = default;
51 ~anything() = default;
61 constexpr anything(Arg&&) noexcept {}
Implementation of std::initializer_list for brace initialization.
Definition initializer_list.hpp:21
Definition accumulate.hpp:37
constexpr void consume_values(std::initializer_list< consume_values_detail::anything > const &) noexcept
Consume a list of values and discard them. Must be called with an extra pair of braces around the exp...
Definition consume_values.hpp:73
typename constraints_impl::constraints< EnableIfs... >::type constraints
Helper used to express template constraints in a consistent way using std::enable_if_t.
Definition constraints.hpp:51
remove_cv_t< remove_reference_t< T > > remove_cvref_t
Backport of std::remove_cvref_t.
Definition remove_cvref.hpp:35
Definition accumulate.hpp:36