source: mainline/uspace/lib/cpp/include/__bits/utility/declval.hpp@ 8fd0675f

Last change on this file since 8fd0675f was b57ba05, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Update headers in C++ files

  • Property mode set to 100644
File size: 461 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2018 Jaroslav Jindrak
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef LIBCPP_BITS_UTILITY_DECLVAL
8#define LIBCPP_BITS_UTILITY_DECLVAL
9
10#include <__bits/type_traits/references.hpp>
11
12namespace std
13{
14 /**
15 * 20.2.5, function template declval:
16 * Note: This function only needs declaration, not
17 * implementation.
18 */
19
20 template<class T>
21 add_rvalue_reference_t<T> declval() noexcept;
22}
23
24#endif
Note: See TracBrowser for help on using the repository browser.