General Utilities
Home Up

 

Same level pages:
Language Support
Diagnostics
General Utilities
Strings
Localization
Numerics
Input/Output

Parent level pages:
STL
FAQs
Headers
Libraries

Utility Components

<utility>
Classes
template <class T1, class T2> struct pair;
Functions
template<class T> bool operator!= (const T&, const T&);
template<class T> bool operator>  (const T&, const T&);
template<class T> bool operator<= (const T&, const T&);
template<class T> bool operator>= (const T&, const T&);
template <class T1, class T2> bool operator== (const pair<T1,T2>&, const pair<T1,T2>&);
template <class T1, class T2> bool operator< (const pair<T1,T2>&, const pair<T1,T2>&);
template <class T1, class T2> pair<T1,T2> make_pair (const T1&, const T2&);

Function objects

<functional>
Structs/Classes
template <class Arg, class Result> struct unary_function;
template <class Arg1, class Arg2, class Result> struct binary_function;
template <class T> struct plus;
template <class T> struct minus;
template <class T> struct times;
template <class T> struct divides;
template <class T> struct modulus;
template <class T> struct negate;
template <class T> struct equal_to;
template <class T> struct not_equal_to;
template <class T> struct greater;
template <class T> struct less;
template <class T> struct greater_equal;
template <class T> struct less_equal;
template <class T> struct logical_and;
template <class T> struct logical_or;
template <class T> struct logical_not;
template <class Predicate> struct unary_negate;
template <class Predicate> unary_negate<Predicate> not1(const Predicate&);
template <class Predicate> struct binary_negate;
template <class Predicate> binary_negate<Predicate> not2(const Predicate&);
template <class Operation> struct binder1st;
template <class Operation> class binder2nd;
template <class Arg, class Result> class pointer_to_unary_function;
template <class Arg1, class Arg2, class Result> class pointer_to_binary_function;
Functions
template <class Operation, class T> binder1st<Operation> bind1st(const Operation&, const T&);
template <class Operation, class T> binder2nd<Operation> bind2nd(const Operation&, const T&);
template <class Arg, class Result> pointer_to_unary_function<Arg,Result> ptr_fun(Result (*)(Arg));
template <class Arg1, class Arg2, class Result> pointer_to_binary_function<Arg1,Arg2,Result> ptr_fun(Result (*)(Arg1,Arg2)); 

Memory

<memory>
Classes
class allocator;
template <class OutputIterator, class T> class raw_storage_iterator;
template<class X> class auto_ptr;
Functions
void* operator new (size_t N, allocator& a);
template <class T> T* allocate (ptrdiff_t n, T*);
template <class T> void deallocate (T* buffer);
template <class T1, class T2> void construct (T1* p, const T2& value);
template <class T> void destroy(T* pointer);
template <class ForwardIterator> void destroy (ForwardIterator first, ForwardIterator last);
template <class T> pair<T*,ptrdiff_t> get_temporary_buffer (ptrdiff_t n, T*);
template <class T> void return_temporary_buffer (T* p, T*);
template <class InputIterator, class ForwardIterator> ForwardIterator uninitialized_copy (InputIterator first, InputIterator last, ForwardIterator result);
template <class ForwardIterator, class T> void uninitialized_fill (ForwardIterator first, ForwardIterator last, const T& x);
template <class ForwardIterator, class Size, class T> void uninitialized_fill_n (ForwardIterator first, Size n, const T& x);
<cstdlib>
Functions
calloc()
malloc()
free()
realloc()
<cstring>
Macros
NULL
Types
size_t
Functions
memchr()
memcmp()
memcpy()
memmove()
memset()

Date and Time

<ctime>
Macros
NULL (same as NULL in <cstddef>)
Structs/Classes
struct tm
Types
size_t (same as size_t in <cstddef>)
Functions
asctime()
difftime()
localtime()
strftime()
ctime()
gmtime()
mktime()
time()
 
ŠPaul Buis & Ball State University Author: Paul Buis (peb@bsu.edu) Last Modified:10/31/00 01:04 PM

NOTICE: The information presented on this page represents the personal views, ideas, and opinions of the author. This is not an official Ball State University web page. Links contained at this web site to other organizations, are presented as a service and neither constitute nor imply university endorsement or warranty.