boostorg / boostorg/pfr

is_reflectable documentation

Open
#164 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
C++
Stars
1.5k
Forks
176
Avg merge
5d 21h
Merged PRs (30d)
1

Description

I've been trying to understand `is_reflectable`, but I fail to get what to pass as second argument. My case looks like this:

```
template
class static_results {
static_assert(pfr::is_pfr_reflectable::value, "RowType must be reflectable");
// Implementation
};
```

I want to check that my user type provided me with a `RowType` that is a structure that can be reflected, i.e. I can call `structure_to_tuple`, `for_each_field` and friends on it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.