Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Standard C++ Library Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

<memory>

Module:  Standard C++ Library   Library:  General utilities


Header

Local Index

No Entries

Summary

The header <memory> is part of the General utilities library of the Standard C++ Library. It defines the class template allocator; the specialization of allocator on void; the equality and inequality operators specialized for allocator; the class templates auto_ptr, auto_ptr_ref, and raw_storage_iterator; and the function templates get_temporary_buffer(), return_temporary_buffer(), uninitialized_copy(), uninitialized_fill(), and uninitialized_fill_n().

Synopsis

namespace std {
  template <class T> class allocator;
  template <> class allocator<void>;
  template <class T, class U>
  bool operator==(const allocator<T>&, 
                  const allocator<U>&) throw();
  template <class T, class U>
  bool operator!=(const allocator<T>&, 
                  const allocator<U>&) throw();

  template <class OutputIterator, class T> 
  class raw_storage_iterator;

  template <class T>
  pair<T*, ptrdiff_t> get_temporary_buffer(ptrdiff_t);
  template <class T>
  void return_temporary_buffer(T*);

  template <class InputIterator, class ForwardIterator>
  ForwardIterator
  uninitialized_copy(InputIterator, InputIterator, 
                     ForwardIterator result);
  template <class ForwardIterator, class T>
  void uninitialized_fill(ForwardIterator, ForwardIterator, 
                         const T&);
  template <class ForwardIterator, class Size, class T>
  void uninitialized_fill_n(ForwardIterator, Size n, 
                            const T&);

  template<class X> class auto_ptr;
}

See Also

allocator, raw_storage_iterator, get_temporary_buffer(), return_temporary_buffer(), uninitialized_copy(), uninitialized_fill(), uninitialized_fill_n(), auto_ptr

Standards Conformance

ISO/IEC 14882:1998 -- International Standard for Information Systems -- Programming Language C++, Section 20.4



Previous fileTop of DocumentContentsIndex pageNext file

Copyright (c) 1994-2006 Rogue Wave Software, a Quovadx Division.
Licensed under the Apache License, Version 2.0.
Contact Rogue Wave about documentation or support issues. You can also seek help from other developers through the Apache stdcxx community (see below).

For more information on the Rogue Wave Standard C++ Library under open source, see Section 1.2 of the user's guide.