userver: userver/utils/function_ref.hpp Source File
Loading...
Searching...
No Matches
function_ref.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/utils/function_ref.hpp
4/// @brief A backport of std::function_ref from C++26
5/// @see https://wg21.link/p0792 for reference
6
7#include <function_backports/function_ref.h>
8
9USERVER_NAMESPACE_BEGIN
10
11namespace utils {
12
13/// @ingroup userver_universal userver_containers
14///
15/// @brief A backport of std::function_ref from C++26
16/// @see https://wg21.link/p0792 for reference
17using function_backports::function_ref;
18
19using function_backports::nontype;
20using function_backports::nontype_t;
21
22} // namespace utils
23
24USERVER_NAMESPACE_END