Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modernize: Use #pragma once in all header files | Kitware Robot | 2020-09-03 | 5 | -20/+5 |
| | | | | | | | | | | | | | | | | #pragma once is a widely supported compiler pragma, even though it is not part of the C++ standard. Many of the issues keeping #pragma once from being standardized (distributed filesystems, build farms, hard links, etc.) do not apply to CMake - it is easy to build CMake on a single machine. CMake also does not install any header files which can be consumed by other projects (though cmCPluginAPI.h has been deliberately omitted from this conversion in case anyone is still using it.) Finally, #pragma once has been required to build CMake since at least August 2017 (7f29bbe6 enabled server mode unconditionally, which had been using #pragma once since September 2016 (b13d3e0d)). The fact that we now require C++11 filters out old compilers, and it is unlikely that there is a compiler which supports C++11 but does not support #pragma once. | ||||
* | Implement cm::static_reference_cast by declval | Sumit Bhardwaj | 2020-07-04 | 1 | -8/+9 |
| | | | | | | | | 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. | ||||
* | Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view> | Marc Chevrier | 2020-04-30 | 1 | -0/+42 |
| | |||||
* | Refactoring: add cm::contains to <cmext/algorithm> | Marc Chevrier | 2020-04-17 | 3 | -11/+103 |
| | |||||
* | Stl support: cm::append now supports any sequential container | Marc Chevrier | 2020-01-24 | 2 | -16/+145 |
| | |||||
* | STL Support: enhance behavior of cm::dynamic_reference_cast | Marc Chevrier | 2020-01-17 | 1 | -1/+9 |
| | | | | | Ensure cm::dynamic_reference_cast has same behavior as dynamic_cast on reference: raise std::bad_cast if dynamic_cast is not possible. | ||||
* | STL Support: extends type_traits for future developments | Marc Chevrier | 2020-01-17 | 1 | -0/+68 |
| | |||||
* | Refactoring: introduce header cmext/algorithm with append functions | Marc Chevrier | 2019-12-17 | 2 | -0/+101 |
| | |||||
* | Memory management: cast functions for managed pointers | Marc Chevrier | 2019-11-27 | 1 | -0/+32 |