---
name: "std::Temporary_buffer"
section: "3"
platform: "linux"
package: "libstdc++5-3.3-doc"
version: "1:3.3.6-15"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/std::Temporary_buffer"
---

# std::Temporary\_buffer(3)

## NAME

std::Temporary\_buffer -

## SYNOPSIS

Inherited by **\_\_gnu\_cxx::temporary\_buffer\< ForwardIterator, Type \>**.

### Public Member Functions

ptrdiff\_t **size** () const\
 *As per Table mumble.*  ptrdiff\_t **requested\_size** () const\
 *Returns the size requested by the constructor; may be \>***size()***.*  Type \* **begin** ()\
 *As per Table mumble.*  Type \* **end** ()\
 *As per Table mumble.*  **Temporary\_buffer** (ForwardIterator first, ForwardIterator last)\
 **~Temporary\_buffer** ()\

### Private Member Functions

void **M\_allocate\_buffer** ()\
 void **M\_initialize\_buffer** (const Type &, **\_\_true\_type**)\
 void **M\_initialize\_buffer** (const Type &val, **\_\_false\_type**)\
 **Temporary\_buffer** (const **Temporary\_buffer** &)\
 void **operator=** (const **Temporary\_buffer** &)\

### Private Attributes

ptrdiff\_t **M\_original\_len**\
 ptrdiff\_t **M\_len**\
 Type \* **M\_buffer**\

## Detailed Description

### template\<class ForwardIterator, class Type\> class std::Temporary\_buffer\< ForwardIterator, Type \>

Definition at line 75 of file stl\_tempbuf.h.

## Member Function Documentation

### template\<class ForwardIterator, class Type\> ptrdiff\_t std::Temporary\_buffer\< ForwardIterator, Type \>::size () const` [inline]`

As per Table mumble.

Definition at line 107 of file stl\_tempbuf.h.

### template\<class ForwardIterator, class Type\> ptrdiff\_t std::Temporary\_buffer\< ForwardIterator, Type \>::requested\_size () const` [inline]`

Returns the size requested by the constructor; may be \>**size()**.

Definition at line 109 of file stl\_tempbuf.h.

### template\<class ForwardIterator, class Type\> Type\* std::Temporary\_buffer\< ForwardIterator, Type \>::begin ()` [inline]`

As per Table mumble.

Definition at line 111 of file stl\_tempbuf.h.

### template\<class ForwardIterator, class Type\> Type\* std::Temporary\_buffer\< ForwardIterator, Type \>::end ()` [inline]`

As per Table mumble.

Definition at line 113 of file stl\_tempbuf.h.

## Author

Generated automatically by Doxygen for libstdc++-v3 Source from the source code.
