[CXX-1638] Don't call string_view::to_string Created: 14/Aug/18 Updated: 28/Oct/23 Resolved: 29/Aug/18 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | 3.3.1 |
| Fix Version/s: | 3.4.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
MNMLSTC defines string_view::to_string but that is not part of STL. So client code that may work when using MNMLSTC may not compile otherwise. Example:
|
| Comments |
| Comment by Githook User [ 30/Aug/18 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: |
| Comment by Githook User [ 29/Aug/18 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: The method is defined in the MNMLSTC shim library for now, but is not in |
| Comment by Andrew Morrow (Inactive) [ 14/Aug/18 ] |
|
I'm not sure there is really anything to do for this other than file an upstream PR with the MNMLSTC maintainer to withdraw to_string now that the C++17 string_view is of known shape. |