STL icon indicating copy to clipboard operation
STL copied to clipboard

`<queue>`, `<stack>`: P3235R3 not implemented

Open CaseyCarter opened this issue 1 year ago • 1 comments

We do not implement the required partial specializations of enable_nonlocking_formatter_optimization for queue, priority_queue, and stack. It's quite clearly a defect that container adaptors unconditionally enable the optimization regardless of whether the underlying containers or their elements enable the optimization.

Paper: WG21-P3235R3 std::print More Types Faster With Less Memory

This is LWG-4146.

CaseyCarter avatar Aug 30 '24 18:08 CaseyCarter

LWG issue submitted, will report back when it is numbered.

CaseyCarter avatar Aug 31 '24 01:08 CaseyCarter

LWG-4398 is Tentatively Ready now. I'm not sure whether produce code change is needed because an enable_nonlocking_formatter_optimization specialization is false by default.

frederick-vs-ja avatar Oct 17 '25 13:10 frederick-vs-ja