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

1396. regex should support allocators

Section: 30.8 [re.regex] Status: Open Submitter: INCITS Opened: 2010-08-25 Last modified: 2018-06-24

Priority: Not Prioritized

View other active issues in [re.regex].

View all other issues in [re.regex].

View all issues with Open status.

Duplicate of: 1451


Addresses US-104, 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.

[ Resolution proposed by ballot comment ]

Add allocators to regexes

[ 2010-10-24 Daniel adds: ]

Accepting n3171 would solve this issue.

[2011-03-22 Madrid]

Close 1396 as NAD Future.

[LEWG Kona 2017]

Recommend Open: Covered in LEWG9, P0269, which is in wording review.


No consensus for a change at this time

Proposed resolution: