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

Separate folders for precise and flat functions

This commit is contained in:
Antony Polukhin
2016-12-28 22:08:05 +03:00
parent 1314722a22
commit fb04223e5e
23 changed files with 232 additions and 199 deletions

View File

@@ -12,7 +12,7 @@
Let's define some structure:
*/
#include <boost/pfr/flat_core.hpp>
#include <boost/pfr/flat/core.hpp>
struct foo { // defining structure
int some_integer;
@@ -31,7 +31,7 @@ auto& r2 = boost::pfr::flat_get<1>(f); // accessing field with index 1, returns
/*`
The following example shows how to count fields using [classref boost::pfr::flat_tuple_size].
*/
#include <boost/pfr/flat_core.hpp>
#include <boost/pfr/flat/core.hpp>
struct foo2 { // defining structure
int some_integer;