Path: blob/main/contrib/llvm-project/libcxx/include/__utility/piecewise_construct.h
35236 views
//===----------------------------------------------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef _LIBCPP___UTILITY_PIECEWISE_CONSTRUCT_H9#define _LIBCPP___UTILITY_PIECEWISE_CONSTRUCT_H1011#include <__config>1213#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)14# pragma GCC system_header15#endif1617_LIBCPP_BEGIN_NAMESPACE_STD1819struct _LIBCPP_TEMPLATE_VIS piecewise_construct_t {20explicit piecewise_construct_t() = default;21};2223#if _LIBCPP_STD_VER >= 1724inline constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t();25#elif !defined(_LIBCPP_CXX03_LANG)26constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t();27#endif2829_LIBCPP_END_NAMESPACE_STD3031#endif // _LIBCPP___UTILITY_PIECEWISE_CONSTRUCT_H323334