This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Dup status.

### 1451. `regex` should support allocators

Section: 30.7 [re.regex] Status: Dup Submitter: INCITS Opened: 2010-08-25 Last modified: 2016-01-28

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.