Syntactic Sugar Is More Than Dessert

We can think of this encapsulation as a kind of syntactic sugar — but it has another useful property as well: Part of what is encapsulated is the pointer to the dynamically allocated object.


July 11, 2012
URL:http://www.drdobbs.com/cpp/syntactic-sugar-is-more-than-dessert/240003580

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.