Boost logo

Boost :

Subject: Re: [boost] [MPL] Reason for mpl::quote's name
From: Larry Evans (cppljevans_at_[hidden])
Date: 2013-11-22 07:03:47


On 11/21/13 19:01, Eric Niebler wrote:
> On 11/21/2013 11:37 AM, Louis Dionne wrote:
>> Hi,
>>
>> I was just wondering about the origin of the `mpl::quote` metafunction class.
>> Why was this name chosen?
>
> I don't know for certain, but I always assumed it was a nod in the
> direction of the list quote operator, which leaves its argument

Did you mean "lisp" quote operator?

http://en.wikipedia.org/wiki/Lisp_%28programming_language%29#Self-evaluating_forms_and_quoting

> unevaluated and lets you pass it around and evaluate it later. Which is
> kinda what mpl::quote does, if you squint hard enough. But I could be
> mistaken.
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk