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

Enable C++20 #221

Merged
merged 7 commits into from
Jan 6, 2025
Merged

Enable C++20 #221

merged 7 commits into from
Jan 6, 2025

Conversation

pmed
Copy link
Owner

@pmed pmed commented Jan 6, 2025

  • additional msvc flag for C++20 in CMakeLists.txt
  • add concept v8pp::detail::WideChar
  • use std::same_as concept instead of std::is_same
  • use std::is_*_v constexpr bools
  • nested v8pp::detail declarations
  • use #pragma once instead of include guards

... and `std::decay_t` aliases
@pmed pmed changed the title Use C++20 Enable C++20 Jan 6, 2025
@pmed pmed merged commit 2e5e3d0 into master Jan 6, 2025
16 checks passed
@pmed pmed deleted the c++20 branch January 6, 2025 23:43
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