summaryrefslogtreecommitdiff
path: root/Modules/CMakeFindWMake.cmake
diff options
context:
space:
mode:
authorSumit Bhardwaj <bhardwajs@outlook.com>2020-07-02 23:36:10 -0700
committerSumit Bhardwaj <bhardwajs@outlook.com>2020-07-04 11:03:46 -0700
commit782d7387d5ac0f965b2e61d6142f55ab2ce31411 (patch)
tree9dcd0c614bafc878f0a74d81aa2ab921062a308a /Modules/CMakeFindWMake.cmake
parentbfa645c5992fa111b2ac90c5b7994c6aac8f7764 (diff)
downloadcmake-782d7387d5ac0f965b2e61d6142f55ab2ce31411.tar.gz
Implement cm::static_reference_cast by declval
Previously, cm::static_reference_cast used invoke_result_t and took the address of O::get. This is not in complete conformance with standard. This MR changes the implementation to use std::declval<O>.get() which is always well-defined.
Diffstat (limited to 'Modules/CMakeFindWMake.cmake')
0 files changed, 0 insertions, 0 deletions