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:
@@ -15,13 +15,13 @@ class HistogramSet {
|
||||
public:
|
||||
HistogramSet (unsigned, unsigned);
|
||||
|
||||
void nextHistogram (void);
|
||||
void nextHistogram();
|
||||
|
||||
unsigned operator[] (size_t idx) const;
|
||||
|
||||
unsigned nrHistograms (void) const;
|
||||
unsigned nrHistograms() const;
|
||||
|
||||
void reset (void);
|
||||
void reset();
|
||||
|
||||
static std::vector<Histogram> getHistograms (unsigned, unsigned);
|
||||
|
||||
|
Reference in New Issue
Block a user