------- Comment #2 from vonbrand at inf dot utfsm dot cl  2008-02-06 16:22 
-------
(In reply to comment #1)
> What are you trying to say?

If I declare:

  void f();
  void f(int);

or

  void f(int i = 100);

should behave exactly the same way. If not, what is the point of offering
default arguments as a shortcut to a (very common) type of overloading?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35106

Reply via email to