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

Avoided redefinition. Who requires this? #245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shinyaohtani
Copy link

on my macOS, this conflicts

@lava
Copy link
Owner

lava commented Mar 25, 2021

On a linux system this appears to be necessary, e.g. this doesn't compile for me:

#include <cstdint>

template<typename T>
struct foo {
  foo() = delete;
};

template<>
struct foo<unsigned long long> {};

int main() {
  foo<uint64_t> f;
  return 0;
}

I'm told on Windows it leads to a warning, so it looks like some research is required to come up with a solution that works on all platforms.

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