Skip to content

refactor(test): use static_assert (C++11) #60

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

e-kwsm
Copy link

@e-kwsm e-kwsm commented Jan 22, 2025

  • test: remove C files
  • refactor(test): use static_assert (C11, C++11)

<div>The library requires that the compiler supports <a
href="topics/variadic_macros.html">variadic macros</a>. Since
variadic macros are a C99 or C++11 feature the library ostensibly
requires at least compilation at those C or C++ standard levels. A
number of compilers support variadic macros at a lower level, so
it still may be possible using the library at that compilation
level, as long as strict C++98/C++03 compliance is not enforced.<br>
</div>

Therefore static_assert is usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant