Available C++ Libraries FAQ

Libraries available to download (D-L)

kplib - Basic but highly optimised C++ library

The library consists of the following classes:
  • KPList<T> A two-way list that assumes nothing about its elements except they correctly implement a default constructor and operator=().
  • KPComparableList<T> A subclass of KPList<T> which also assumes its elements can be compared with operator==(), thus providing more powerful methods.
  • KPSortableList<T> A subclass of KPComparableList<T> which also assumes its elements can be compared with operator<(), thus providing more powerful methods.
  • KPReadOnlyIterator<T> An iterator with pointer-like semantics which can iterate over any of the above lists for reading purposes only.
  • KPIterator<T> An iterator with pointer-like semantics which can iterate over any of the above lists for the purpose of reading, modifying, deleting, or adding elements to or from arbitrary locations in the list.
  • KPArray<T> A dynamically-sizable array that assumes nothing about its elements except they correctly implement a default constructor and operator=().
  • KPComparableArray<T> A subclass of KPArray<T> which also assumes its elements can be compared with operator==(), thus providing more powerful methods.
  • KPSortableArray<T> A subclass of KPComparableArray<T> which also assumes its elements can be compared with operator<(), thus providing more powerful methods.
  • KPQueue<T> A queue that assumes nothing about its elements except they correctly implement a default constructor and operator=().
  • KPPriorityQueue<T> A priority queue that assumes its elements correctly implement a default constructor, operator=(), operator==() and operator<().
  • KPStack<T> A stack that assumes nothing about its elements except they correctly implement a default constructor and operator=().
  • KPSet<T> A set that assumes its elements correctly implement a default constructor, operator=(), operator==() and operator<(). All union, intersection, difference and superset/subset operations are of order O(n).
  • KPBag<T> A bag that assumes its elements correctly implement a default constructor, operator=(), operator==() and operator<().
  • KPString A string class which implements basic string functions and more (such as tokenizing methods which return KPList<KPString>). This class uses reference counting and copy-on-write semantics to insure that it as efficient as possible.

Operating Systems

  • Unix

Compilers

  • GCC
  • MetroWerks CodeWarrior
  • Watcom C++

Added : 2000-04-26 Amended: 2000-12-22 Licensing : Public Domain

Add a comment
Our ads
Buy gold
Beat the credit crunch - buy gold online - quickly, safely and at low prices
www.bullionvault.com
Google
Trumphurst Home Page
C++ Usenet Newsgroup
A Web form for submissions to this list
Contact the author for permission to distribute

Copyright (c) 2024 Nikki Locke, Trumphurst Ltd.
Permission is granted to distribute over the Internet without charge. The author's permission is required (and usually given) to distribute in any other way, including on CD.