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

1396. regex should support allocators

Section: 30.8 [re.regex] Status: Tentatively NAD Submitter: INCITS Opened: 2010-08-25 Last modified: 2020-09-06

Priority: Not Prioritized

View other active issues in [re.regex].

View all other issues in [re.regex].

View all issues with Tentatively NAD status.

Duplicate of: 1451

Discussion:

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.

[2020-07-17; status changed to Tentatively NAD in issue processing telecon]

P0269R0 has been superseded by P1294R0. Requested LEWG to confirm which version they forwarded to LWG. In any case, this is a feature request, not a defect, and will be dealt with as a proposal not an issue.

Rationale:

No consensus for a change at this time

Proposed resolution: