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

Integral number formatting support #68

Merged
merged 5 commits into from
Dec 28, 2019
Merged

Conversation

sharkdp
Copy link
Owner

@sharkdp sharkdp commented Dec 20, 2019

attempts to solve #61

This let's us write

uint32_t x = /**/;

dbg(dbg::hex(x));

dbg(dbg::oct(x));

The values currently print out like this:
image

@sharkdp sharkdp mentioned this pull request Dec 20, 2019
Copy link

@mhammerc mhammerc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!!

dbg.h Outdated Show resolved Hide resolved
dbg.h Show resolved Hide resolved
@sharkdp sharkdp merged commit 50f0cce into master Dec 28, 2019
@sharkdp sharkdp deleted the intergral-formatting-support branch December 28, 2019 19:43
DerekCresswell added a commit to DerekCresswell/dbg-macro that referenced this pull request Dec 29, 2019
This was changed in a recent pr (sharkdp#68) but the readme was neglected.
sharkdp pushed a commit that referenced this pull request Dec 29, 2019
This was changed in a recent pr (#68) but the readme was neglected.
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.

None yet

2 participants