Path: blob/main/contrib/llvm-project/libcxx/include/__expected/unexpect.h
35262 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8#ifndef _LIBCPP___EXPECTED_UNEXPECT_H9#define _LIBCPP___EXPECTED_UNEXPECT_H1011#include <__config>1213#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)14# pragma GCC system_header15#endif1617#if _LIBCPP_STD_VER >= 231819_LIBCPP_BEGIN_NAMESPACE_STD2021struct unexpect_t {22explicit unexpect_t() = default;23};2425inline constexpr unexpect_t unexpect{};2627_LIBCPP_END_NAMESPACE_STD2829#endif // _LIBCPP_STD_VER >= 233031#endif // _LIBCPP___EXPECTED_UNEXPECT_H323334