[SERVER-49727] Add '<<' operator overload to write SBE TypeTags and Values into str::stream Created: 20/Jul/20 Updated: 29/Oct/23 Resolved: 07/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Anton Korshunov | Assignee: | Andrii Dobroshynskyi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2020-08-10, Query 2020-08-24 |
| Participants: |
| Description |
|
Currently we can use '<<' operator to write into std::ostream. Quite often, we need to output a TypeTag into an uassert message, which uses std::stream. It would be useful to have another overload to support '<<' operator with str::stream. |
| Comments |
| Comment by Githook User [ 07/Aug/20 ] |
|
Author: {'name': 'Andrii Dobroshynskyi', 'email': 'andrii.dobroshynskyi@mongodb.com'}Message: |