home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yacl-012.zip / base / tbtree.cxx < prev    next >
C/C++ Source or Header  |  1995-04-04  |  2KB  |  58 lines

  1.  
  2.  
  3.  
  4.  
  5. /*
  6.  *
  7.  *          Copyright (C) 1994, M. A. Sridhar
  8.  *  
  9.  *
  10.  *     This software is Copyright M. A. Sridhar, 1994. You are free
  11.  *     to copy, modify or distribute this software  as you see fit,
  12.  *     and to use  it  for  any  purpose, provided   this copyright
  13.  *     notice and the following   disclaimer are included  with all
  14.  *     copies.
  15.  *
  16.  *                        DISCLAIMER
  17.  *
  18.  *     The author makes no warranties, either expressed or implied,
  19.  *     with respect  to  this  software, its  quality, performance,
  20.  *     merchantability, or fitness for any particular purpose. This
  21.  *     software is distributed  AS IS.  The  user of this  software
  22.  *     assumes all risks  as to its quality  and performance. In no
  23.  *     event shall the author be liable for any direct, indirect or
  24.  *     consequential damages, even if the  author has been  advised
  25.  *     as to the possibility of such damages.
  26.  *
  27.  */
  28.  
  29.  
  30.  
  31. #ifdef __GNUC__
  32. #pragma implementation
  33. #endif
  34.  
  35.  
  36.  
  37.  
  38. // Instantiate a few B-trees.
  39.  
  40. #include "base/tbtreimp.cxx"
  41.  
  42. #if defined (__GNUC__) && __GNUC_MINOR__ >= 6
  43. template class CL_BTree<CL_String>;
  44. template class CL_BTree<CL_ObjectPtr>;
  45. template class CL_BTree<long>;
  46.  
  47. template class CL_TemplateNodeSpace<CL_String>;
  48. template class CL_TemplateNodeSpace<CL_ObjectPtr>;
  49. template class CL_TemplateNodeSpace<long>;
  50.  
  51. template class CL_Comparator<CL_ObjectPtr>;
  52. template class CL_Comparator<long>;
  53. #endif
  54.  
  55. typedef CL_BTree<CL_String> CL_StringBTree;
  56. typedef CL_BTree<long> CL_IntegerBTree;
  57. typedef CL_BTree<CL_ObjectPtr> CL_ObjectPtrBTree;
  58.