Marshall Clow wrote:
P.S. When was boost::nontype added?
There is no boost::nontype. There is boost::compat::nontype_t, which appeared as part of the public API of boost::compat::function_ref: https://www.boost.org/doc/libs/1_89_0/libs/compat/doc/html/compat.html#funct... Despite being defined by function_ref.hpp, it wasn't actually documented, though. The corresponding variable template boost::compat::nontype wasn't provided. For this release, I moved nontype_t to its own public header and added nontype: https://www.boost.org/doc/libs/1_90_0_beta1/libs/compat/doc/html/compat.html... But then, the committee renamed it. I'm not quite sure what to do now. Renaming the newly added header and the type and variable within is an option but I'm not entirely sure that the committee won't change it again; there are indications that it might to do so. Maybe we should just go back to what 1.89 had and postpone the changes.