-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fbstring::append, fbstring::operator+= overloads for string_view
Summary: Since C++17, `std::basic_string::append` and `std::basic_string::operator+=` have overloads supporting `std::basic_string_view`. Technically, these overloads accept types which are convertible to matching `std::basic_string_view` but not convertible to matching `const_pointer`. Give `folly::basic_fbstring` similar overloads. Reviewed By: thedavekwon Differential Revision: D62008263 fbshipit-source-id: 84cc357ec2acbba1e30eac84b2fdc42a76bc0f07
- Loading branch information
1 parent
06b6275
commit abeb583
Showing
2 changed files
with
53 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
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