mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-19 04:59:48 -06:00
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.