|
Boost : |
From: William Linkmeyer (wlink10_at_[hidden])
Date: 2023-02-07 00:23:48
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 <boost_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk