Open nekopsykose opened 2 years ago
this is the case for c++11 and above: https://en.cppreference.com/w/cpp/types/NULL
specific error you get when NULL is nullptr:
error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive]
returning NULL is invalid for a return type of bool when NULL is defined
as
nullptr
instead of 0L