Skip to content

Address reflection for variables is broken #3

@asutton

Description

@asutton

The value printed by the following function is garbage.

int var = 42;
int main() {
  constexpr variable_info v = reflexpr(var);
  printf("%d\n", v.get<int>());
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions