Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ArcaneCxx20.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* ArcaneCxx20.h (C) 2000-2023 */
9/* */
10/* Vérification des fonctionnalités minimale requises du C++20. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/ArcaneCxx20.h"
15
16/*---------------------------------------------------------------------------*/
17/*---------------------------------------------------------------------------*/
18
19// std::atomic_ref
20#include <atomic>
21#if __cpp_lib_atomic_ref < 201806L
22#error "The compiler does not support C++20 std::atomic_ref"
23#endif
24
25// concepts
26#include <concepts>
27#if __cpp_concepts < 201907L
28#error "The compiler does not support C++20 concepts"
29#endif
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/