2
0
mirror of https://github.com/boostorg/pfr.git synced 2026-01-19 04:22:13 +00:00

Initial support for C++20 modules (#177)

This commit is contained in:
Antony Polukhin
2024-08-15 10:59:07 +03:00
committed by GitHub
parent dec9341546
commit 60391652fa
39 changed files with 361 additions and 6 deletions

View File

@@ -38,7 +38,12 @@ PROLOGUE = """// Copyright (c) 2016-2024 Antony Polukhin
#include <boost/pfr/detail/sequence_tuple.hpp>
#include <boost/pfr/detail/size_t_.hpp>
#ifdef BOOST_PFR_HAS_STD_MODULE
import std;
#else
#include <type_traits> // for std::conditional_t, std::is_reference
#endif
namespace boost { namespace pfr { namespace detail {