Tools.h++ Class Reference

Table Of Contents
Returns the number of occurrences in the collection for which the user-provided function
pointed to by t finds a match with d.
size_t
occurrencesOfReference(const type* e) const;
Returns the number of items in the collection with the address e.
type*
prepend(type* a);
Adds an item to the beginning of the collection. Returns nil if the insertion was
unsuccessful.
type*
remove(yourTester t, const void* d);
Removes and returns the first item from the collection for which the user-provided
function pointed to by t finds a match with d, or returns nil if no item is found.
type*
removeReference(const type* e);
Removes and returns the first item from the collection with the address e, or returns nil if
no item is found.