mirror of
https://github.com/boostorg/pfr.git
synced 2026-01-19 04:22:13 +00:00
GCC-10 fixes
This commit is contained in:
@@ -73,7 +73,7 @@ template <class T, std::size_t N>
|
||||
struct is_aggregate_initializable_n {
|
||||
template <std::size_t ...I>
|
||||
static constexpr bool is_not_constructible_n(std::index_sequence<I...>) noexcept {
|
||||
#if defined(__cpp_aggregate_paren_init) || (defined(__GNUC__) && __GNUC__ >= 10)
|
||||
#if defined(__cpp_aggregate_paren_init)
|
||||
typedef size_t_<N> fields_count_tag;
|
||||
|
||||
// ====================> Boost.PFR: Compile time error at this point means that the type T is not
|
||||
|
||||
@@ -29,6 +29,7 @@ PROLOGUE = """// Copyright (c) 2016-2020 Antony Polukhin
|
||||
#pragma once
|
||||
|
||||
#include <boost/pfr/detail/config.hpp>
|
||||
#include <boost/pfr/detail/size_t_.hpp>
|
||||
|
||||
#if !BOOST_PFR_USE_CPP17
|
||||
# error C++17 is required for this header.
|
||||
|
||||
Reference in New Issue
Block a user