Skip to content

Does it support C-style fixed-length array in type metadata definitions? #87

@cpp-fun

Description

@cpp-fun
struct A
{
//    double vals[3];   // Is it possible to support it?
    std::array<double, 3> vals;
};

REFL_AUTO(
    type(A, Table{"A"}),
    field(vals, Column{"vals", DataType::ARRAY}, serializable())
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions