cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

GB-085 20.2.2 [memory.syn] start_lifetime_as and start_lifetime_as_array should be freestanding #440

Closed wg21bot closed 1 year ago

wg21bot commented 1 year ago

The P1642R11 (freestanding utils) paper was approved before P2590R2 (explicit lifetime management) so didn't consider it. The start_lifetime_as function is a Core language facility that needs no OS support. It should be freestanding.

Add "freestanding" comment to all four overloads of start_lifetime_as and all four overloads of start_lifetime_as_array

JeffGarland commented 1 year ago

LWG has an issue for this

https://cplusplus.github.io/LWG/issue3814

jensmaurer commented 1 year ago

Accepted.