mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 17:19:05 -05:00
8843946519
Previously, `cm::static_reference_cast` used `invoke_result_t` and took the address of `O::get`. This is not in complete conformance with standard. Change the implementation to use `std::declval<O>.get()` which is always well-defined.