Skip to Main Content United States    
PRODUCTS SUPPORT SOLUTIONS SERVICES
COMPAQ SOFTWARE
get_temporary_buffer (3C++std) - Tru64 UNIX
Standard C++ Library
Copyright 1996, Rogue Wave Software, Inc.

NAME

  get_temporary_buffer  - Pointer based primitive for handling memory

SYNOPSIS

  #include <memory>

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

DESCRIPTION

  The get_temporary_buffer templated function reserves from system memory the
  largest possible buffer that is less than or equal to the size requested
  (n*sizeof(T)), and returns a pair<T*, ptrdiff_t> containing the address and
  size of that buffer.  The units used to describe the capacity are in
  sizeof(T).

SEE ALSO

  allocate, construct, deallocate, pair, return_temporary_buffer.

STANDARDS CONFORMANCE

  ANSI X3J16/ISO WG21 Joint C++ Committee



        
Buy Online or Call 1.800.888.0220      privacy statement and legal notices 
STORES CONTACT US SEARCH PRODUCTS SOLUTIONS OPTIONS DEVELOPERS