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

Pretty printer throws an exception when printing std::stack with a specialized container. #1

Open
meator opened this issue Sep 5, 2022 · 0 comments

Comments

@meator
Copy link

meator commented Sep 5, 2022

Program

#include <stack>
#include <vector>

int main()
{
    std::stack<int, std::vector<int>> test;
    test.push(5);
    test.push(7);
}

Error message

(gdb) p test
Python Exception <class 'gdb.error'>: There is no member or method named __size_.
$1 =

I've made an asciinema recording that demonstrates the issue. If you have any questions or request further information than please comment on this issue.

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

No branches or pull requests

1 participant