userver: userver/utils/forward_like.hpp File Reference
Loading...
Searching...
No Matches
forward_like.hpp File Reference

Detailed Description

Analogue of std::forward_like from C++23.

Definition in file forward_like.hpp.

Go to the source code of this file.

#include <type_traits>
#include <userver/compiler/impl/nodebug.hpp>
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  utils
 General-purpose utilities used across userver libraries.
 

Functions

template<typename T, typename U>
constexpr auto && utils::ForwardLike (U &&x) noexcept
 Analogue of std::forward_like from C++23.