-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some minor tweaks for
char_traits
work. (#792)
* Some minor tweaks for `char_traits` work. Patches up some very minor details after merging @tambry's great contribution in #751. After this I'll run the automatic formatter as well. * Don't define char traits' `length()`. This function is just not appropriate to a `std::byte` specialisation. There is no way inspect the contents of a raw byte string and figure out from there what the string's length is. So, remove the function's definition. The _declaration_ is required, but there can't be a usable definition.
- Loading branch information
Showing
3 changed files
with
29 additions
and
26 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