The C++ Programming LanguageMore than three-quarters of a million programmers have benefited from this book in all of its editions Written by Bjarne Stroustrup, the creator of C++, this is the world's most trusted and widely read book on C++. For this special hardcover edition, two new appendixes on locales and standard library exception safety (also available at www.research.att.com/~bs/) have been added. The result is complete, authoritative coverage of the C++ language, its standard library, and key design techniques. Based on the ANSI/ISO C++ standard, The C++ Programming Language provides current and comprehensive coverage of all C++ language features and standard library components. For example:
|
From inside the book
Results 1-3 of 5
Page 304
... dynamic cast is discussed in $ 15.4.2 . Using a class as a base is equivalent to declaring an ( unnamed ) object of that class . Conse- quently , a class must be defined in order to be used as a base ( §5.7 ) : class Employee ...
... dynamic cast is discussed in $ 15.4.2 . Using a class as a base is equivalent to declaring an ( unnamed ) object of that class . Conse- quently , a class must be defined in order to be used as a base ( §5.7 ) : class Employee ...
Page 384
... cast dynamic cast $ 15.4.1.1 < typeinfo > bad typeid typeid $ 15.4.4 bad_exception exception specification $ 14.6.3 < typeinfo > < exception > Standard Exceptions ( thrown by the standard library ) Name 384 Chapter 14 Exception Handling.
... cast dynamic cast $ 15.4.1.1 < typeinfo > bad typeid typeid $ 15.4.4 bad_exception exception specification $ 14.6.3 < typeinfo > < exception > Standard Exceptions ( thrown by the standard library ) Name 384 Chapter 14 Exception Handling.
Page 413
... Dynamic Casts A dynamic_cast can cast from a polymorphic virtual base class to a derived class or a sibling class ( §15.4.1 ) . A static_cast ( §6.2.7 ) does not examine the object it casts from , so it cannot : void g ( Radio & r ) ...
... Dynamic Casts A dynamic_cast can cast from a polymorphic virtual base class to a derived class or a sibling class ( §15.4.1 ) . A static_cast ( §6.2.7 ) does not examine the object it casts from , so it cannot : void g ( Radio & r ) ...
Contents
Introductory Material | 1 |
Basic Facilities | 67 |
Abstraction Mechanisms | 221 |
Copyright | |
25 other sections not shown
Other editions - View all
Common terms and phrases
abstract class algorithms allocator array assignment associative array auto_ptr base class basic_string bitset bool buffer built-in types C-style C-style string C++ standard library called class Tr compiler complex const Ch const char const string& const T& container conversion copy constructor cout Date declaration default defined definition delete derived class destructor double dynamic_cast elements error example exception handling explicit expr facet family_name floating-point global handle header implementation initialization inline input integer interface ios_base iterator Ival_box language locale member functions namespace object object-oriented programming operand operator operator delete output Parser pointer priority_queue problem representation run-time sequence simple size_t size_type specified stack standard library static stream struct techniques template argument template class Ch template<class throw an exception tion type conversion typedef typeid typename unsigned user-defined types valarray variable vector virtual functions void f write