libcxx patch for N3655

Marshall Clow mclow.lists at gmail.com
Wed Jul 3 11:44:13 PDT 2013


On Jul 3, 2013, at 9:37 AM, Howard Hinnant <howard.hinnant at gmail.com> wrote:

> On Jul 2, 2013, at 2:43 PM, Marshall Clow <mclow.lists at gmail.com> wrote:
> 
>> In N3655 (the first half of which was incorporated into C++14), Walter added a bunch of template aliases to simplify template metaprogramming.
>> 
>> Lots of stuff like this:
>> 	template <class T> using remove_const_t    = typename remove_const<T>::type;
>> 
>> This patch adds all those aliases into libc++, and tests.
>> Also some drive-by cleanups of existing tests.
> 
> Thanks Marshall.  I think you did your svn diff from the wrong subdirectory.  The patch doesn't include an updated <type_traits>.

D'oh!

Here's a better patch.

-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki

-------------- next part --------------
A non-text attachment was scrubbed...
Name: typeTraitsTransformation-2.patch
Type: application/octet-stream
Size: 111594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130703/e3553310/attachment.obj>


More information about the cfe-commits mailing list