Subject: __cpp_lib_unwrap_ref in wrong header
From: Barry Revzin (barry.revzin_at_[hidden])
Date: 2019-11-30 22:09:54
Hi SG10 and LWG,
cpplearner points out in https://github.com/BRevzin/sd6/issues/1 that:
"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.
Does anybody object to moving it to <functional>?
Assuming no, what should the process of such a change involve? LWG issue?
SG10 list run by email@example.com