summaryrefslogtreecommitdiff
path: root/kernel/lib/libcxx/include/__utility/declval.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lib/libcxx/include/__utility/declval.h')
-rw-r--r--kernel/lib/libcxx/include/__utility/declval.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/lib/libcxx/include/__utility/declval.h b/kernel/lib/libcxx/include/__utility/declval.h
new file mode 100644
index 0000000..95e8159
--- /dev/null
+++ b/kernel/lib/libcxx/include/__utility/declval.h
@@ -0,0 +1,20 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the BastionOS freestanding C++ standard library.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBBASTION_UTILITY_DECLVAL_H
+#define _LIBBASTION_UTILITY_DECLVAL_H
+
+#include <__config>
+
+_LIBBASTION_BEGIN_NAMESPACE_STD
+
+template<class _Tp>
+__add_rvalue_reference(_Tp) declval() noexcept;
+
+_LIBBASTION_END_NAMESPACE_STD
+
+#endif // _LIBBASTION_UTILITY_DECLVAL_H