Skip to content

disambiguate byte, colliding with new std::byte#45

Open
correaa wants to merge 1 commit intomasterfrom
fix-std-byte
Open

disambiguate byte, colliding with new std::byte#45
correaa wants to merge 1 commit intomasterfrom
fix-std-byte

Conversation

@correaa
Copy link
Member

@correaa correaa commented Feb 16, 2024

std::byte is declared by the standard library now.
Since qball uses using namespace std; everywhere, these name collisions happen.

The changes disambiguate the use of byte using ::byte.

I tested it with GCC 13 with no flags and with the "-std=c++11" flag (CXX="mpicxx -std=c++11).

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