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

fmt::ptr: support unique_ptr and shared_ptr. #1121

Merged
merged 1 commit into from
Apr 18, 2019

Conversation

sighingnow
Copy link
Contributor

It is a bit noisy to add .get() when formatting unique_ptr and shared_ptr. This patch also convert std::unique_ptr/std::shared_ptr to const void * in fmt::ptr.

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

@vitaut vitaut merged commit 6b20863 into fmtlib:master Apr 18, 2019
@vitaut
Copy link
Contributor

vitaut commented Apr 18, 2019

Thanks!

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 this pull request may close these issues.

2 participants