forked from fmtlib/fmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fmt::format<Char, T> inefficiency fmtlib#92
- Loading branch information
Michael Kasperovich
committed
Nov 17, 2015
1 parent
d9e0f5c
commit 5343eab
Showing
1 changed file
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All buffer data is accessible via public members like
size()
,capacity()
andoperator[]
. I suggest using these and ditching friend relationship betweenBuffer
andbasic_formatbuf
, something like: