diff options
author | Sumit Bhardwaj <bhardwajs@outlook.com> | 2020-07-02 23:36:10 -0700 |
---|---|---|
committer | Sumit Bhardwaj <bhardwajs@outlook.com> | 2020-07-04 11:03:46 -0700 |
commit | 782d7387d5ac0f965b2e61d6142f55ab2ce31411 (patch) | |
tree | 9dcd0c614bafc878f0a74d81aa2ab921062a308a /Modules/UseEcos.cmake | |
parent | bfa645c5992fa111b2ac90c5b7994c6aac8f7764 (diff) | |
download | cmake-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/UseEcos.cmake')
0 files changed, 0 insertions, 0 deletions