---
name: "std::raw_storage_iterator"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::raw_storage_iterator"
---

# std::raw\_storage\_iterator(3)

## NAME

std::raw\_storage\_iterator\< \_OutputIterator, \_Tp \>

## SYNOPSIS

\#include \<memory\>

Inherits **std::iterator\< output\_iterator\_tag, void, void, void, void \>**.

### Public Types

typedef void **difference\_type**\
 Distance between iterators is represented as this type.  typedef **output\_iterator\_tag** **iterator\_category**\
 One of the **tag types**.  typedef void **pointer**\
 This type represents a pointer-to-value\_type.  typedef void **reference**\
 This type represents a reference-to-value\_type.  typedef void **value\_type**\
 The type *pointed*to"*by*the*iterator.*

### Public Member Functions

**raw\_storage\_iterator** (\_OutputIterator \_\_x)\
 \_OutputIterator **base** () const\
 raw\_storage\_iterator & **operator\*** ()\
 raw\_storage\_iterator & **operator++** ()\
 raw\_storage\_iterator **operator++** (int)\
 raw\_storage\_iterator & **operator=** (\_Tp &&\_\_element)\
 raw\_storage\_iterator & **operator=** (const \_Tp &\_\_element)\

### Protected Attributes

\_OutputIterator **\_M\_iter**\

## Detailed Description

### template\<class \_OutputIterator, class \_Tp\>

class std::raw\_storage\_iterator\< \_OutputIterator, \_Tp \>"This iterator class lets algorithms store their results into uninitialized memory.

## Member Typedef Documentation

### typedef void std::iterator\< output\_iterator\_tag, void, void, void, void \>::difference\_type \[inherited\]

Distance between iterators is represented as this type.

### typedef output\_iterator\_tag std::iterator\< output\_iterator\_tag, void, void, void, void \>::iterator\_category \[inherited\]

One of the **tag types**.

### typedef void std::iterator\< output\_iterator\_tag, void, void, void, void \>::pointer \[inherited\]

This type represents a pointer-to-value\_type.

### typedef void std::iterator\< output\_iterator\_tag, void, void, void, void \>::reference \[inherited\]

This type represents a reference-to-value\_type.

### typedef void std::iterator\< output\_iterator\_tag, void, void, void, void \>::value\_type \[inherited\]

The type "pointed to" by the iterator.

## Author

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