Boost logo

Boost :

Subject: Re: [boost] [Hana] Informal review request
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2015-03-05 16:02:33


On Thu, Mar 5, 2015 at 12:56 PM, Louis Dionne <ldionne.2_at_[hidden]> wrote:

> Yes, this is already taken care of and no unfortunate instantiations
> will take place.

Awesome!!!

> The downside is that `decltype(tuple_t<T...>)` is an
> unspecified dependent type that only _inherits_ `_tuple<T...>`.

> I'm playing with fire, I know :-). I read the process of ADL
> very carefully when I thought about this, but it is also
> possible that I'm exploiting a Clang bug. What do you think?

Hmm, I think that really might be relying on a clang bug, but I don't have
the standard in front of me right now. From my understanding, if you
inherit from _tuple<T...>, then "T..." again needs to be considered for the
list of associated namespaces.

-- 
-Matt Calabrese

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