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

Merge pull request #49 from akrzemi1/patch-1

Fix spelling in fields_count.hpp
This commit is contained in:
Antony Polukhin
2020-10-02 10:50:41 +03:00
committed by GitHub

View File

@@ -221,7 +221,7 @@ constexpr std::size_t fields_count() noexcept {
#ifdef __cpp_lib_is_aggregate
static_assert(
std::is_aggregate<type>::value // Does not return `true` for build in types.
std::is_aggregate<type>::value // Does not return `true` for built-in types.
|| std::is_scalar<type>::value,
"====================> Boost.PFR: Type must be aggregate initializable."
);