mirror of
https://github.com/boostorg/pfr.git
synced 2026-01-19 04:22:13 +00:00
24 lines
539 B
C++
24 lines
539 B
C++
// Copyright (c) 2016-2019 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)
|
|
|
|
#include <boost/pfr/precise/core.hpp>
|
|
#include <boost/core/lightweight_test.hpp>
|
|
|
|
struct bf {
|
|
unsigned int i1: 1;
|
|
unsigned int i2: 1;
|
|
unsigned int i3: 1;
|
|
unsigned int i4: 1;
|
|
unsigned int i5: 1;
|
|
unsigned int i6: 1;
|
|
};
|
|
|
|
int main() {
|
|
(void)boost::pfr::tuple_size<bf>::value;
|
|
return boost::report_errors();
|
|
}
|
|
|
|
|