22. A New Assignment Operator, Should You Decide to Accept It

  1. Stephen R. Davis

Published Online: 31 OCT 2011

DOI: 10.1002/9781118257524.ch22

C++ for Dummies®, 6th Edition

C++ for Dummies®, 6th Edition

How to Cite

Davis, S. R. (2009) A New Assignment Operator, Should You Decide to Accept It, in C++ for Dummies®, 6th Edition, Wiley Publishing, Inc., Hoboken, NJ, USA. doi: 10.1002/9781118257524.ch22

Publication History

  1. Published Online: 31 OCT 2011
  2. Published Print: 27 APR 2009

ISBN Information

Print ISBN: 9780470317266

Online ISBN: 9781118257524

SEARCH

Keywords:

  • operator;
  • assignment operator;
  • similarities;
  • assignment operator;
  • copy constructor

Summary

This Chapter contains sections titled:

  • Comparing Operators with Functions

  • Inserting a New Operator

  • Creating Shallow Copies Is a Deep Problem

  • Overloading the Assignment Operator

  • Overloading the Subscript Operator