mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03: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.