No longer test for C++11. by bangerth · Pull Request #798 · taskflow/taskflow · GitHub
Skip to content

No longer test for C++11.#798

Open
bangerth wants to merge 1 commit into
taskflow:masterfrom
bangerth:uintptr
Open

No longer test for C++11.#798
bangerth wants to merge 1 commit into
taskflow:masterfrom
bangerth:uintptr

Conversation

@bangerth

Copy link
Copy Markdown
Contributor

In looking at dealii/dealii#19188, I found a place where the current code base still checks whether the C++ standard is at least C++11. That's no longer necessary because Taskflow requires C++20 anyway.

I also looked at the other part of the #if here, testing for whether defined(UINTPTR_MAX) exists. From C++11 to C++26, the standard defines std::uintptr_t as an optional type. So it's not guaranteed that it always exists, and using defined(UINTPTR_MAX) is still necessary.

@tsung-wei-huang

Copy link
Copy Markdown
Member

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.

2 participants