Details
-
Type:
RFC
-
Status: Implemented
-
Resolution: Done
-
Component/s: DM
-
Labels:None
Description
With the use of the conda compiler toolchain, our compilers on all platforms have full C++17 support. This RFC proposes to update the DM C++ style guide to reflect this.
Updating to the C++17 standard allows us to use many fancy new features, in particular the inclusion of std::variant and std::visitor, which allows us to remove our dependency on boost::variant which does not seem to be actively supported.
There are also a number of previously deprecated and now removed features which are used in the stack. Jim Bosch and I have worked through these on the u/jbosch/c++17 branch to demonstrate the viability of upgrading our C++17 baseline.
I'm in favor of this given the compilers are already compliant and this will help the Apple Silicon port. It also sounds like a nice cleanup.