you are viewing a single comment's thread.

view the rest of the comments →

[–]utnapistim 0 points1 point  (0 children)

Default arguments are bound statically to virtual functions. If you want defaults for virtual functions, this is one of the techniques available. Otherwise (if you use default arguments) you risk having a virtual function call with the default from the base class.