Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
reference_wrapper_fwd.hpp
Go to the documentation of this file.
1// Copyright 2026, Toyota Motor Corporation
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_REFERENCE_WRAPPER_FWD_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_REFERENCE_WRAPPER_FWD_HPP_
7
8// parasoft-begin-suppress CERT_CPP-DCL58-a-2 "Part of a standard library implementation"
9// parasoft-begin-suppress AUTOSAR-A17_6_1-a-2 "Part of a standard library implementation"
10
11// Used to generate stdlib_choice mapping
12// IWYU pragma: private, include <functional>
13
14namespace std {
15
16/// @brief Forward declare reference wrapper for use in is_reference_wrapper.hpp
17/// This will avoid a circular dependency
18/// @tparam T value type of the reference
19template <typename T>
21
22} // namespace std
23
24#endif // INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_REFERENCE_WRAPPER_FWD_HPP_
wraps a reference in a copyable and assignable object
Definition reference_wrapper.hpp:178
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