Constexpr matrices with computational mathematic methods. (#constexpr_ALL_the_things) Inspired by this talk.
My proof |
---|
This project is compiled by Clang v5.0.0 and parameters: clang++ -std=c++1z -O1 -Wall -Wextra -pedantic -Xclang -flto-visibility-public-std -fconstexpr-steps=1000000000.
Also it would be compiled by GCC v7.1 and higher.
MSVC from the v19.14 (VS v15.7) has some issues with constexpr statements and sometimes "Internal compiler error" occurs. But code could be compiled too.
This project is licensed under the terms of the Apache License 2.0.