400                                       .   

  foo<infc>: : count  foo<double>: : count .
  . count  b. count   foo<int> : : count,   . count -
  foo<double>:: count.   
foo<TM7> : : count,     .

. 14.5. 

        -
,    .     -
         ,   
     .  -
     .   -
 ,    ,   ,   .

void maxelement<char*>(char*a[], char* &max, int size);

//   strcmp()
//  max string

     template<class T>
maxelement ().    , :

class stack<foobar_obj> (/*   foobar_obj */ );

   .  9.2.1,    , 
. 249 (  swap.cpp).

. 15.

        ,  -
    .     .  -
,     .

  C++         -
   throw.    
  ,    , 
    .   :

  vect_ex2.cpp

vect::vect(int n)

( //   
try {

if (n < 1)
throw(n) ;

 = new int[n] ;

if (p == 0)

throw ("  ");

}
catch (int n) { ... }               //

// 