Skip to content

boost::pfr::names_as_array<T> does not work on structure include c array #162

@baker-Xie

Description

@baker-Xie

demo code like this

#include "boost/pfr.hpp"

struct some_person {
    float data[3];
};

int main(int argc, const char* argv[]) {
    auto name = boost::pfr::names_as_array<some_person>();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions