diff options
| author | Sumit Bhardwaj <bhardwajs@outlook.com> | 2020-07-03 06:36:10 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2020-07-06 13:30:56 (GMT) |
| commit | 8843946519294d060a4a287ff89b78531075511f (patch) | |
| tree | 5cc17aeca55db8ad3805a6854c340dfbf93a12ec /Help/guide/tutorial/Step12/MathFunctions/MakeTable.cxx | |
| parent | 1e26c84b96c0ec6887de2cf5e14061ccb83bdbfe (diff) | |
| download | CMake-8843946519294d060a4a287ff89b78531075511f.zip CMake-8843946519294d060a4a287ff89b78531075511f.tar.gz CMake-8843946519294d060a4a287ff89b78531075511f.tar.bz2 | |
cmext: 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.
Change the implementation to use `std::declval<O>.get()` which is always
well-defined.
Diffstat (limited to 'Help/guide/tutorial/Step12/MathFunctions/MakeTable.cxx')
0 files changed, 0 insertions, 0 deletions
