boost::rational serialized as wstring returns always "1"
Open
- Dominant language
- C++
- Stars
- 24
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
Dear boost rational team,
converting boost rational to **wstring** always returns "1" instead of the correct value
` const boost::rational editRate(1, 3);
std::cout << editRate << "\n"; // -> 1/3 , OK
std::wcout << editRate << L"\n"; // -> 1 , Error
`
Tested with boost 1.71.0/1.66.0, Visual C++ 2017/Compiler Explorer GCC 9.2.
https://godbolt.org/z/STtFqN

best regards,
Stefan
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.