matplotlib-cpp icon indicating copy to clipboard operation
matplotlib-cpp copied to clipboard

Avoided redefinition. Who requires this?

Open shinyaohtani opened this issue 4 years ago • 1 comments

on my macOS, this conflicts

shinyaohtani avatar Jan 26 '21 07:01 shinyaohtani

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.

lava avatar Mar 25 '21 20:03 lava