1451. regex should support allocators

Section: 31.8 [re.regex] Status: Dup Submitter: INCITS Opened: 2010-08-25 Last modified: 2016-02-10

Priority: Not Prioritized

View all other issues in [re.regex].

View all issues with Dup status.

Duplicate of: 1396

Discussion:

Addresses US-141

std::basic_regex should have an allocator for all the reasons that a std::string does. For example, I can use boost::interprocess to put a string or vector in shared memory, but not a regex.

Proposed resolution:

Add allocators to regexes; see paper N3171 in the pre-Batavia mailing.