-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allocator-aware constructors and str() calls to stringbufs (second tr…
…y) (#3522) * Allocator-aware constructors and str() calls to stringbufs (second try) * Restore a couple of changes that I overwrote when creating new branch * Move methods inline as an attempt to placate the SUN compiler * Add tests * Second attempt to appease the sun compiler * Third attempt at SUN remediation * Fix C++03 MoveUtil bug * Remove SALLOC calls on SunOS until we can remove rebind from bslag::ContainerBase * Address most of Clay's review comments * Fix move ctors; add tests to string_buf * Add a space between two '>'s that I added so that we work on C++03 again * Replace erroneously removed typedef * Add moveableRef string and other-string constructors to *stringstream * Enable 'str' calls on SunOS that were mistakenly disabled * Fix compile failures on SUN (I hope) * Fix most of Clay's review concerns * Fix a bug I just introduced * Add missing constructor; deal with Clay's review comments * Add tests for the constructors added in the previous commit * Contract wording and a couple of bde-verify issues * Add tests to ensure that strings are moved when they should be * Fix Clay and Pablo's nits * Change over string_buf constructors to match decision made in meeting today * Rework constructors taking MovableRef to match consensus * Rework contracts for constructors taking MovableRef re: Pablo's guidance * Fix an typo in the constructor contract
- Loading branch information
mclow3
authored and
GitHub Enterprise
committed
Jan 25, 2022
1 parent
bc65db2
commit 3bf629c
Showing
8 changed files
with
2,440 additions
and
120 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
Oops, something went wrong.