![]() C++03 didn't support `explicit` conversion operators; but Clang's C++03 mode does, as an extension, so we can use it. This lets us make the conversion explicit in `std::function` (even in '03), and remove some silly metaprogramming in `std::basic_ios`. Drive-by improvements to the tests for these operators, in addition to making sure all these tests also run in `c++03` mode. Differential Revision: https://reviews.llvm.org/D104682 |
||
---|---|---|
.. | ||
func.wrap.func.alg | ||
func.wrap.func.cap | ||
func.wrap.func.con | ||
func.wrap.func.inv | ||
func.wrap.func.mod | ||
func.wrap.func.nullptr | ||
func.wrap.func.targ | ||
derive_from.compile.fail.cpp | ||
derive_from.pass.cpp | ||
function_types.h | ||
noncopyable_return_type.pass.cpp | ||
robust_against_adl.pass.cpp | ||
types.pass.cpp |