f(void) vs f()
"In fact, the f(void) style has been called an "abomination" by Bjarne Stroustrup, the creator of C++, Dennis Ritchie, the co-creator of C, and Doug McIlroy, head of the research department where Unix was born."
This commit is contained in:
@@ -28,7 +28,7 @@ getSymbol (const std::string& symbolName)
|
||||
|
||||
|
||||
void
|
||||
printSymbolDictionary (void)
|
||||
printSymbolDictionary()
|
||||
{
|
||||
std::unordered_map<std::string, unsigned>::const_iterator it
|
||||
= symbolDict.begin();
|
||||
@@ -98,7 +98,7 @@ operator<< (std::ostream& os, const Ground& gr)
|
||||
|
||||
|
||||
LogVars
|
||||
Substitution::getDiscardedLogVars (void) const
|
||||
Substitution::getDiscardedLogVars() const
|
||||
{
|
||||
LogVars discardedLvs;
|
||||
std::set<LogVar> doneLvs;
|
||||
|
Reference in New Issue
Block a user