This looks strange without an api that allows returning by value. As-is, everything seems to assume the user wants to mutate their values by reference. Mutating by reference is fine, but at least exposing an api that allows another style seems important. WL
On Feb 6, 2023, at 7:14 PM, Gavin Lambert via Boost
wrote: On 7/02/2023 13:06, Vinnie Falco wrote:
it seems unfortunate that lambdas are currently unsupported What are "lambdas" in this context, do you have a link I can read?
From the Mustache spec, see the "Lambdas" section of http://mustache.github.io/mustache.5.html
Or more fundamentally: https://github.com/mustache/spec/blob/master/specs/~lambdas.yml
Relatedly, the docs don't really give any comparison to other existing libraries either; for example the current "official" C++ implementation of Mustache appears to be https://github.com/no1msd/mstch. At a glance, this appears to have more features, but uses a non-Boost.Json input type.
I have not attempted to use either library.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost