Closed joaquintides closed 3 years ago
Wonderful.
This seems a more recent change; Godbolt's 19.20-19.24 still have result_type
, and so does Appveyor. My local 19.26, however, no longer has it.
According to VS changelog, the removal happened in VS 2019 16.6 (look for P0619R4), which is 19.26, I think.
I believe this has been fixed with https://github.com/boostorg/bind/commit/b601e8924d9d86e18a02fec5418e9696678fb8a8.
Starting (at least) in MSVC 19.20,
/std:c++latest
results in internal_HAS_CXX20
macro being defined, which effectively removesresult_type
nested typedef from std library function objects such asstd::equal_to
etc. This breaks code usingboost::bind
without explicitR
specification.