diff options
author | Sumit Bhardwaj <bhardwajs@outlook.com> | 2020-07-03 06:36:10 (GMT) |
---|---|---|
committer | Sumit Bhardwaj <bhardwajs@outlook.com> | 2020-07-04 18:03:46 (GMT) |
commit | 782d7387d5ac0f965b2e61d6142f55ab2ce31411 (patch) | |
tree | 9dcd0c614bafc878f0a74d81aa2ab921062a308a /Auxiliary/vim | |
parent | bfa645c5992fa111b2ac90c5b7994c6aac8f7764 (diff) | |
download | CMake-782d7387d5ac0f965b2e61d6142f55ab2ce31411.zip CMake-782d7387d5ac0f965b2e61d6142f55ab2ce31411.tar.gz CMake-782d7387d5ac0f965b2e61d6142f55ab2ce31411.tar.bz2 |
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 'Auxiliary/vim')
0 files changed, 0 insertions, 0 deletions