-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
I'm not sure wheter it is appropriate to open a pull request, so ticket the workaround here.
issue about explicitly converting the optional to bool
issue:
error: cannot convert ‘boost::optional<boost::property_tree::basic_ptree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&>’ to ‘bool’ in return
return opt_loc_pt_;
ref:
https://stackoverflow.com/questions/38648826/boostoptional-returning-a-bool-value-doesnt-always-work
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels