Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unordered container as first tuple member confuses Meta #16767

Open
1 task
hahnjo opened this issue Oct 28, 2024 · 0 comments
Open
1 task

Unordered container as first tuple member confuses Meta #16767

hahnjo opened this issue Oct 28, 2024 · 0 comments

Comments

@hahnjo
Copy link
Member

hahnjo commented Oct 28, 2024

Check duplicate issues.

  • Checked for duplicates

Description

With std::tuple<std::unordered*, there are missing data members

Reproducer

root [0] TClass::GetClass("std::tuple<int, int>")->GetListOfDataMembers()->Print()
Collection name='TListOfDataMembers', class='TListOfDataMembers', size=2
 OBJ: TDataMember       _1
 OBJ: TDataMember       _0
root [1] TClass::GetClass("std::tuple<std::set<int>, int>")->GetListOfDataMembers()->Print()
Collection name='TListOfDataMembers', class='TListOfDataMembers', size=2
 OBJ: TDataMember       _1
 OBJ: TDataMember       _0
root [2] TClass::GetClass("std::tuple<std::unordered_set<int>, int>")->GetListOfDataMembers()->Print()
Collection name='TListOfDataMembers', class='TListOfDataMembers', size=1
 OBJ: TDataMember       _0

Same with std::unordered_map<int, int>, while std::set<int> and std::map<int, int> seem to be fine.

ROOT version

master

Installation method

from source

Operating system

Linux

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants