Bug 121718 - Add an implementation of std::index_sequence from C++14
Summary: Add an implementation of std::index_sequence from C++14
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-20 14:32 PDT by Anders Carlsson
Modified: 2013-09-20 14:58 PDT (History)
3 users (show)

See Also:


Attachments
Patch (2.39 KB, patch)
2013-09-20 14:33 PDT, Anders Carlsson
rniwa: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2013-09-20 14:32:15 PDT
Add an implementation of std::index_sequence from C++14
Comment 1 Anders Carlsson 2013-09-20 14:33:53 PDT
Created attachment 212219 [details]
Patch
Comment 2 Ryosuke Niwa 2013-09-20 14:51:04 PDT
Comment on attachment 212219 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=212219&action=review

rs=me.

> Source/WTF/wtf/StdLibExtras.h:375
> +    template<size_t index, size_t...indexes> struct make_index_sequence_helper {

Can we call the first argument length or something?
I'm getting totally confused by index versus indexes.
Comment 3 Anders Carlsson 2013-09-20 14:58:33 PDT
Committed r156204: <http://trac.webkit.org/changeset/156204>