Jump to content

  • Log In with Google      Sign In   
  • Create Account

phresnel

Member Since 21 Oct 2008
Offline Last Active Jan 16 2013 07:29 AM
-----

Posts I've Made

In Topic: Naming functions that 'operate on' vs 'copy and return'

11 February 2012 - 12:50 AM

Just about the technical side:

2) C++ wouldn't allow it, even if I wanted it - the function parameters are too identical so the function names would collide.


C++ allows to overload on const and non-const references.

PARTNERS