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_
12#include "arene/base/constraints/constraints.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"
18#include "arene/base/type_traits/remove_cvref.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;
55 template <
typename Arg, constraints<std::enable_if_t<!std::is_same<anything, remove_cvref_t<Arg>>::value>> =
nullptr>
61 constexpr anything(Arg&&)
noexcept {}
Definition array_exceptions_disabled.cpp:11
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
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10