[PATCH] Add specialization of FoldingSetTrait for std::pair.

Manuel Klimek klimek at google.com
Fri May 23 10:12:08 PDT 2014


On Fri, May 23, 2014 at 7:06 PM, Jordan Rose <jordan_rose at apple.com> wrote:

> Hm. This doesn't look like it will actually handle pairs containing any
> non-struct type, where you have to use AddInteger or AddPointer as
> appropriate. (Why don't those have FoldingSetTraits directly?)
>

It works with pointers, as FoldingSetTrait<T*> is specialized.


>
> http://reviews.llvm.org/D3895
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140523/000116a8/attachment.html>


More information about the llvm-commits mailing list