Rust is still miles ahead of C++11 and even C++14 in terms of safety. On the other hand, C++ still has the upper hand in the type-level programming department, especially now that Hana exists and will be added to the next Boost release: <a href="https:&#x2F;&#x2F;github.com&#x2F;boostorg&#x2F;hana" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;boostorg&#x2F;hana</a> .