[SERVER-34396] Fail to compile if io manipulators like std::hex are passed to StringBuilder/str::stream Created: 09/Apr/18 Updated: 29/Oct/23 Resolved: 18/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.6 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Mathias Stearn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Platforms 2018-04-23 | ||||||||
| Participants: | |||||||||
| Description |
|
Currently they implicitly decay to bool and append '1' to the stream. This causes a very confusing warning in compilers newer than our official toolchain. |
| Comments |
| Comment by Githook User [ 18/Apr/18 ] |
|
Author: {'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}Message: This includes a partial revert of 80f409d1311eb8d20251d17be474aff382538b84 |