jserv / rv32jit

JIT-accelerated RISC-V instruction set simulator
MIT License
31 stars 7 forks source link

Make coding style more C++20 like #1

Closed 25077667 closed 1 year ago

25077667 commented 1 year ago

We also could use concepts and constrains to replace std::enable_if<>.

Would you like to use that feature in C++20?

jserv commented 1 year ago

We also could use concepts and constrains to replace std::enable_if<>. Would you like to use that feature in C++20?

Once it is successfully built with clang++-15, we can proceed to test the proposed changes.

jserv commented 1 year ago

Thank @25077667 for contributing!

25077667 commented 1 year ago

We also could use concepts and constrains to replace std::enable_if<>. Once it is successfully built with clang++-15, we can proceed to test the proposed changes.

I found it's supported since clang++-10. https://en.cppreference.com/w/cpp/20