This repository has been archived by the owner on May 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* format_value takes a format_spec directly now * doctest build fixes * Bitfields in format_spec * Cleanup format traits digit handling Almost every use was just accessing 0 anyway * Split format and printf spec parsing functions * Begin making format_spec a reasonable public API type * constexpr + noexcept on basic_format_spec constructor * Pass format_spec by const& because it's not tiny * Rename format_spec.remaining to user * Rename format_spec to format_options * Renames * Finally get rid of options.has_precision The default precision is now ~0u, which I dislike (I like default == 0) but this gets it done. * Update README
- Loading branch information
Sean Middleditch
authored
Mar 24, 2019
1 parent
adae9d8
commit 20c79ca
Showing
19 changed files
with
382 additions
and
256 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
add_subdirectory(litexx EXCLUDE_FROM_ALL) | ||
|
||
if(FORMATXX_BUILD_TESTS) | ||
if(FORMATXX_BUILD_TESTS AND NOT TARGET doctest) | ||
set(DOCTEST_WITH_TESTS OFF CACHE BOOL "enable doctest tests") | ||
set(DOCTEST_WITH_MAIN_IN_STATIC_LIB OFF CACHE BOOL "enable doctest static library") | ||
add_subdirectory(doctest EXCLUDE_FROM_ALL) | ||
endif() |
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
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
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
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
Oops, something went wrong.