New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack exaustion while value_from(std::filesystem::path) #975
Comments
The solution is to put the tag_invoke INSIDE the boost::json namespace... This already happened in another case, for std::chrono, I think it should be worth to add a note into this page https://www.boost.org/doc/libs/1_84_0/libs/json/doc/html/json/conversion/custom_conversions.html To express that, sometimes... you have to put in namespace to help it! |
The solution (to the error) is to not treat The next step will be to add a conversion category for paths. |
From that page:
Maybe we should be less cryptic. |
Yes maybe just drop a few lines about that specific example ? json/doc/qbk/conversion/custom.qbk Line 54 in db92f8c
|
You can create a PR, but before please look for a good place to put the note. |
PLEASE DON'T FORGET TO "STAR" THIS REPOSITORY :)
Are you inviting me to have multiple account or more friend ?
Version of Boost
1.84
Steps necessary to reproduce the problem
if the path is EMPTY it works fine, but if there is something it leads to a stack exausting crash, remaining struct inside those 2
loop (first one is gcc the other clang, quite similar but a bit different)
Also using
Does not help (in fact looks like they are not even used...)
The text was updated successfully, but these errors were encountered: