master
 1// -*- C++ -*-
 2//===----------------------------------------------------------------------===//
 3//
 4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 5// See https://llvm.org/LICENSE.txt for license information.
 6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7//
 8//===----------------------------------------------------------------------===//
 9
10#ifndef _LIBCPP_EXPERIMENTAL_UTILITY
11#define _LIBCPP_EXPERIMENTAL_UTILITY
12
13/*
14    experimental/utility synopsis
15
16// C++1y
17
18#include <utility>
19
20namespace std {
21namespace experimental {
22inline namespace fundamentals_v1 {
23
24  3.1.2, erased-type placeholder
25  struct erased_type { };
26
27} // namespace fundamentals_v1
28} // namespace experimental
29} // namespace std
30
31 */
32
33#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
34#  include <__cxx03/experimental/utility>
35#else
36#  include <__config>
37#  include <utility>
38
39#  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
40#    pragma GCC system_header
41#  endif
42
43_LIBCPP_BEGIN_NAMESPACE_LFTS
44
45struct erased_type {};
46
47_LIBCPP_END_NAMESPACE_LFTS
48
49#  if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
50#    include <cstddef>
51#  endif
52#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
53
54#endif /* _LIBCPP_EXPERIMENTAL_UTILITY */