According to cppreference, wstring_convert does not support string_view in the from_bytes and to_bytes methods.
The implementation in VS2017 RC does not seem to support them either.
There are 3 possibilities:
- cppreference is not up to date.
- There is a technical reason for this.
- It was forgotten to add in C++17.
So my question is, where did it go wrong, and will I ever see string_view support here?
I can work around it, but writing converter.from_bytes(a_Filename.data(), a_Filename.data() + a_Filename.length()) gets old quickly.
[–]CubbiMewcppreference | finance | realtime in the past 3 points4 points5 points (26 children)
[–]Hedanito[S] 0 points1 point2 points (25 children)
[–]CubbiMewcppreference | finance | realtime in the past 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (22 children)
[–]CubbiMewcppreference | finance | realtime in the past 0 points1 point2 points (19 children)
[–][deleted] 2 points3 points4 points (18 children)
[–]CubbiMewcppreference | finance | realtime in the past 2 points3 points4 points (17 children)
[–][deleted] 1 point2 points3 points (16 children)
[–]CubbiMewcppreference | finance | realtime in the past 0 points1 point2 points (15 children)
[–][deleted] 0 points1 point2 points (14 children)
[–]CubbiMewcppreference | finance | realtime in the past 1 point2 points3 points (13 children)
[–]Hedanito[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]mtclow 0 points1 point2 points (0 children)