Boost logo

Boost :

Subject: Re: [boost] [MPL] Reason for mpl::quote's name
From: Eric Niebler (eniebler_at_[hidden])
Date: 2013-11-21 20:01:52


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
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.

-- 
Eric Niebler
Boost.org
http://www.boost.org

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