How many memories do references?



  • How many memories do references?



  • If the reference is simply an alias of change, it is likely that there is nothing (to be optimized by the compiler), and if the reference is a function argument, it is as good as the index.

    sizeof In this case, it is not possible to use the words " transparency " in c+. Operator sizeof If applied to the reference, " think " , of the need to remove the object to which it refers.


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2