Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#44 Allow for C++20 standard compiling #45

Merged
merged 2 commits into from
Jul 10, 2024

Commits on Jun 30, 2024

  1. Allow for C++20 standard compiling

    C++20 standard introduces std::remove_cvref<T>, which allows for a reduction of obfuscator code.
    C++20 allows for consteval expressions which force the compiler to only accept compile-time
    evaluation of functions. This is especially useful for obfuscating purposes.
    Maarten van Geijn committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    0cbf8c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Resolved review comments

    * Use macro to use consteval when compiling in C++20 standard, or constexpr for C++14/17.
      Only for those functions which require compile-time evaluation.
    * Keep STL independent, because not all users may be willing or able to use the STL in their environment.
    Maarten van Geijn committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    57d1125 View commit details
    Browse the repository at this point in the history