Exceptions
Get/set functions are useful, but a class consisting mostly of gets/sets is probably poorly designed: Decide whether it wants to provide an abstraction or be a struct .
![]() | |
| Index | |
| C++ Coding Standards: 101 Rules, Guidelines, and Best Practices | ||
| By Herb Sutter, Andrei Alexandrescu | ||
| Publisher | : Addison Wesley Professional | |
|---|---|---|
| Pub Date | : October 25, 2004 | |
| ISBN | : 0-321-11358-6 | |
| Pages | : 240 | |