News for hackers. Stuff that matters.
Re:F() vs. F(void) in C vs. C++ by hermitdev on Sunday May 12, 2019 @07:36PM (#19895316)
Yeah, it's an overload as others have replied. The difference between C and C++ here, is that you should get a linker error if you try and invoke the undefined overload in C++ (C doesn't allow overloading, nor does it require a forward declaration).

This is how we "deleted" functions, especially otherwise auto generated ones such as a default or copy constructor and assignment operator pre C++11.

There are no comments on this comment yet.