I have a library under construction called "coerce" which covers this case
and many more: http://svn.boost.org/svn/boost/sandbox/coerce/ with
(currently somewhat out of date) documentation available at
http://vexocide.org/coerce/. It's based on spirit but allows multiple
backends and whilst it doesn't yet have an interface which accepts by
reference this should be fairly trivial to add and is on the todo list.
Unfortunately it's been a while since I had the time to work on it but with
my study now out of the way I hope move it back to github and pick it up
again.
HTH,
Jeroen
On 11 December 2013 21:36, Antony Polukhin
There is a bounty for implementing a `try_lexical_cast` from Facebook: https://www.bountysource.com/issues/1352296-exceptionless-lexical_cast
Because of that three questions arise:
* Is there some official policy for "feature implementation sponsorship"?
* `try_lexical_cast` must be added or not? And if yes, what signature is preffered:
bool try_lexical_cast
(Out&, const In&) bool try_lexical_cast (const In&, Out&) boost::optional<Out> try_lexical_cast (const In&) * Is there a bank account "for Boost's needs" that is used to do hosting payments, conference room rental payments and other support stuff (to were those 200$ may be transfered)?
-- Best regards, Antony Polukhin
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost