mirror of
https://github.com/boostorg/pfr.git
synced 2026-01-19 04:22:13 +00:00
43 lines
890 B
C++
43 lines
890 B
C++
// Copyright (c) 2016-2025 Antony Polukhin
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
// To compile manually use a command like the folowing:
|
|
// clang++ -I ../include -std=c++20 --precompile -x c++-module pfr.cppm
|
|
|
|
module;
|
|
|
|
#include <version>
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
#ifdef BOOST_PFR_USE_STD_MODULE
|
|
import std;
|
|
#else
|
|
#include <array>
|
|
#include <cstddef>
|
|
#include <functional>
|
|
#include <iomanip>
|
|
#include <iostream>
|
|
#include <limits>
|
|
#include <memory>
|
|
#include <string>
|
|
#include <string_view>
|
|
#include <tuple>
|
|
#include <type_traits>
|
|
#include <utility>
|
|
#include <variant>
|
|
#endif
|
|
|
|
#define BOOST_PFR_INTERFACE_UNIT
|
|
|
|
export module boost.pfr;
|
|
|
|
#ifdef __clang__
|
|
# pragma clang diagnostic ignored "-Winclude-angled-in-module-purview"
|
|
#endif
|
|
|
|
#include <boost/pfr.hpp>
|
|
|