Hi SG10 and LWG,
"Since unwrap_reference and unwrap_ref_decay are defined in <functional> ([functional.syn]), their feature test macro should also be defined there."
P1902R1 adds this feature test macro in <type_traits> instead. I agree with them - I think the choice of <type_traits> was my mistake.
Didn't I create an issue saying those traits *should* be in <type_traits>? I think I meant to.
Does anybody object to moving it to <functional>?
I'd rather move the traits to <type_traits>, but if we don't do that we should move the macro.
Assuming no, what should the process of such a change involve? LWG issue?
I'll try to hijack that issue to move the traits ;-)