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

Add formatters for STL container adapters #3215

Closed
Mrkol opened this issue Nov 30, 2022 · 1 comment · Fixed by #3279
Closed

Add formatters for STL container adapters #3215

Mrkol opened this issue Nov 30, 2022 · 1 comment · Fixed by #3279

Comments

@Mrkol
Copy link

Mrkol commented Nov 30, 2022

std::priority_queue, std::queue and std::stack should be formattable out of the box, they are part of the standard.

@Lounarok
Copy link
Contributor

Lounarok commented Dec 30, 2022

Since they don't expose iterators. It seems impossible to do it without touching the content of a container which doesn't expose iterators...

Edit: I missed the part that accessing the underlying container from adaptor which is done in #3279

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

Successfully merging a pull request may close this issue.

2 participants