---
name: "std::raw_storage_iterator"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::raw_storage_iterator/3cxx"
---

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

## 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.
