This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] basic_regex: add traits_type, string_type
ClosedPublic

Authored by jasonliu on Jul 22 2016, 1:59 PM.

Details

Summary

In the synopsis in C++11 subclause 28.8 [re.regex], basic_regex is specified to have member typedefs traits_type and string_type. This change adds them to libc++.

Diff Detail

Event Timeline

jasonliu updated this revision to Diff 65141.Jul 22 2016, 1:59 PM
jasonliu retitled this revision from to [libcxx] Missing member types 'traits_type' and 'string_type' in class basic_regex.
jasonliu updated this object.
jasonliu added a subscriber: cfe-commits.

This looks straightforward. @mclow.lists, are you okay with me committing this for Jason?

This revision is now accepted and ready to land.Aug 2 2016, 9:20 AM
hubert.reinterpretcast retitled this revision from [libcxx] Missing member types 'traits_type' and 'string_type' in class basic_regex to [libcxx] basic_regex: add traits_type, string_type .Aug 2 2016, 1:50 PM
hubert.reinterpretcast updated this object.
hubert.reinterpretcast edited edge metadata.