Exception-safe programming
{"Image DocumentName": "Exception-safe programming", "Image ImageDescription": "P\u0159\u00edklad: StringStack::pop. Z\u00e1sobn\u00edk prvk\u016f typu String. Implementov\u00e1n seznamem. \u0158e\u0161en\u00ed B. Nam\u00edsto vracen\u00ed hodnoty funkce pop vypl\u0148uje parametr p\u0159ed\u00e1van\u00fd odkazem. t\u00edm se vylou\u010d\u00ed nutnost kombinovat vol\u00e1n\u00ed pop s dal\u0161\u00edm kop\u00edrov\u00e1n\u00edm. Pro u\u017eivatele jednodu\u0161\u0161\u00ed, implementace pop je v\u0161ak t\u011b\u017e\u0161\u00ed. StringStack stk; String a; /  ...  / try { stk.pop( a); } catch (...) { /  chyba zkracov\u00e1n\u00ed nebo kop\u00edrov\u00e1n\u00ed, prom\u011bnn\u00e1 a nezm\u011bn\u011bna, z\u00e1sobn\u00edk nedot\u010den  /", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}