Collection of data structures and operations that have been (and will continue to be) implemented in response to need. Container interface, naming and behavior is similar to the STL containers. Algorithm interface is in the spirit of the C standard library search and sort functions.
ISO C99, ISO C++98, ISO C++11.
These are designed to be general purpose, and reasonably efficient in most circumstances.
The biggest problem with these is type safety due to the use of pointer to void for type abstraction.
This code is intentionally spartan. With the exception of a handful of assertions placed as an aid to debugging for the most common or fatal errors (underflow in pop operations, allocation failures), this library makes no attempt to protect itself.
Please read 'algo' function documentation. Some of the functions have different behavior than the standard library equivalents.
Be the first to post a review of libcontc!