oktonion / stdex

std C++ 11 library impementation with extra features using only C++ 98 and POSIX threads
MIT License
67 stars 6 forks source link

custom nullptr fails in templated functions/classes (old gcc specific) #5

Open oktonion opened 5 years ago

oktonion commented 5 years ago

Using nullptr in templated functions and classes fails on GCC because it thinks that it is ordinary int. This bug also happens with NULL that is provided by GCC std library so do not exactly know what I can do there.