mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 17:56:43 +00:00

This is necessary because e.g. ranges::elements_view uses std::get but it needs to have in scope the declaration of all the versions of std::get that exist in the library. This need is what had originally led to elements_view.h gaining an include of __fwd/complex.h, but in reality it is a more general issue that requires a canonical declration point for all the std::get variations.
25 lines
718 B
C
25 lines
718 B
C
//===---------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===---------------------------------------------------------------------===//
|
|
|
|
#ifndef _LIBCPP___FWD_GET_H
|
|
#define _LIBCPP___FWD_GET_H
|
|
|
|
#include <__config>
|
|
#include <__fwd/array.h>
|
|
#include <__fwd/complex.h>
|
|
#include <__fwd/pair.h>
|
|
#include <__fwd/subrange.h>
|
|
#include <__fwd/tuple.h>
|
|
#include <__fwd/variant.h>
|
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
# pragma GCC system_header
|
|
#endif
|
|
|
|
#endif // _LIBCPP___FWD_GET_H
|