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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user