| 1 | // -*- C++ -*- |
| 2 | //===-- numeric -----------------------------------------------------------===// |
| 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 _TEST_SUPPORT_STDLIB_NUMERIC |
| 11 | #define _TEST_SUPPORT_STDLIB_NUMERIC |
| 12 | |
| 13 | #include_next <numeric> |
| 14 | |
| 15 | #include <pstl/internal/pstl_config.h> |
| 16 | |
| 17 | #if _PSTL_EXECUTION_POLICIES_DEFINED |
| 18 | // If <execution> has already been included, pull in implementations |
| 19 | # include <pstl/internal/glue_numeric_impl.h> |
| 20 | #else |
| 21 | // Otherwise just pull in forward declarations |
| 22 | # include <pstl/internal/glue_numeric_defs.h> |
| 23 | # define _PSTL_NUMERIC_FORWARD_DECLARED 1 |
| 24 | #endif |
| 25 | |
| 26 | #endif /* _TEST_SUPPORT_STDLIB_NUMERIC */ |
| 27 | |