Date
2024-03-15.00:00:00
Message id
13821

Content

[ 2024-03-11; Reflector poll ]

Set priority to 3 after reflector poll.

LWG 2487 doesn't seem to intend to forbid volatile support as a conforming extension.

P1065R2 made it ill-formed for std::bind but didn't make the same change to the definition of perfect forwarding call wrapper. So given an `as_volatile` function that works like `std::as_const`, as_volatile(std::bind(&T::fn))(t) is ill-formed but as_volatile(std::mem_fn(&T::fn))(t) is undefined. Supporting it as a conforming extension is fine, but making it UB is not. Maybe "conditionally supported" instead?