Boost logo

Boost :

Subject: Re: [boost] [variant] match()
From: Rob Stewart (rob.stewart_at_[hidden])
Date: 2015-01-08 04:37:28


On January 7, 2015 4:53:49 AM EST, Eelis <eelis_at_[hidden]> wrote:
> On 2015-01-07 10:41, Rob Stewart wrote:
> > That looks nice, but I don't see how it will work for, say,
> variant<std::string,std::map<int,something>,int>. What's the common
> type for those types?
>
> common_type is merely used for the return types of the functors.

Ah. I missed that. I was reading the code on my phone and it was rather jumbled.

___
Rob

(Sent from my portable computation engine)


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