COMPTNG 10A Final: Misc 2
Document Summary
A type for an unsigned int (nonnegative) No need to know what it is and why it is useful represents an index std::swap(firstvar, secondvar); Works for any types, even user-defined classes class template. Provides type within < > const correctness. Make things const to ensure they are not changed. Not all member functions should be const (be logical) Ndebug i(cid:374)(cid:272)lude: (cid:862)#defi(cid:374)e ndebug(cid:863) i(cid:374) the top to disa(cid:271)le asserts that (cid:373)ay stop the progra(cid:373) However, will not remove code surrounding asserts that are now remove.