---
name: "std::Bit_const_iterator"
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::Bit_const_iterator"
---

# std::Bit\_const\_iterator(3)

## NAME

std::Bit\_const\_iterator -

## SYNOPSIS

Inherits **std::Bit\_iterator\_base**.

### Public Types

typedef bool **reference**\
 *This type represents a reference-to-value\_type.*  typedef bool **const\_reference**\
 typedef const bool \* **pointer**\
 *This type represents a pointer-to-value\_type.*  typedef **Bit\_const\_iterator** **const\_iterator**\
 typedef Category **iterator\_category**\
 *One of the* **tag types***.*  typedef Type **value\_type**\
 *The type 'pointed to' by the iterator.*  typedef Distance **difference\_type**\
 *Distance between iterators is represented as this type.*

### Public Member Functions

**Bit\_const\_iterator** ()\
 **Bit\_const\_iterator** (**Bit\_type** \*x, unsigned int y)\
 **Bit\_const\_iterator** (const **Bit\_iterator** &x)\
 **const\_reference** **operator \*** () const\
 **const\_iterator** & **operator++** ()\
 **const\_iterator** **operator++** (int)\
 **const\_iterator** & **operator--** ()\
 **const\_iterator** **operator--** (int)\
 **const\_iterator** & **operator+=** (**difference\_type** \_\_i)\
 **const\_iterator** & **operator-=** (**difference\_type** \_\_i)\
 **const\_iterator** **operator+** (**difference\_type** \_\_i) const \
 **const\_iterator** **operator-** (**difference\_type** \_\_i) const \
 **const\_reference** **operator\[\]** (**difference\_type** \_\_i)\
 void **M\_bump\_up** ()\
 void **M\_bump\_down** ()\
 void **M\_incr** (ptrdiff\_t \_\_i)\
 bool **operator==** (const **Bit\_iterator\_base** &\_\_i) const\
 bool **operator\<** (const **Bit\_iterator\_base** &\_\_i) const\
 bool **operator!=** (const **Bit\_iterator\_base** &\_\_i) const\
 bool **operator\>** (const **Bit\_iterator\_base** &\_\_i) const\
 bool **operator\<=** (const **Bit\_iterator\_base** &\_\_i) const\
 bool **operator\>=** (const **Bit\_iterator\_base** &\_\_i) const\

### Public Attributes

**Bit\_type** \* **M\_p**\
 unsigned int **M\_offset**\

## Detailed Description

Definition at line 205 of file stl\_bvector.h.

## Member Typedef Documentation

### typedef bool std::Bit\_const\_iterator::reference

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

Reimplemented from **std::iterator\< Category, Type, Distance, Pointer, Reference \>**.

Definition at line 207 of file stl\_bvector.h.

### typedef const bool\* std::Bit\_const\_iterator::pointer

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

Reimplemented from **std::iterator\< Category, Type, Distance, Pointer, Reference \>**.

Definition at line 209 of file stl\_bvector.h.

### template\<typename Category, typename Type, typename Distance = ptrdiff\_t, typename Pointer = Type\*, typename Reference = Type&\> typedef Category std::iterator\< Category, Type, Distance, Pointer, Reference \>::iterator\_category` [inherited]`

One of the **tag types**.

Definition at line 107 of file stl\_iterator\_base\_types.h.

### template\<typename Category, typename Type, typename Distance = ptrdiff\_t, typename Pointer = Type\*, typename Reference = Type&\> typedef Type std::iterator\< Category, Type, Distance, Pointer, Reference \>::value\_type` [inherited]`

The type 'pointed to' by the iterator.

Reimplemented in **\_\_gnu\_cxx::sequence\_buffer\< Sequence, Buf\_sz \>**.

Definition at line 109 of file stl\_iterator\_base\_types.h.

### template\<typename Category, typename Type, typename Distance = ptrdiff\_t, typename Pointer = Type\*, typename Reference = Type&\> typedef Distance std::iterator\< Category, Type, Distance, Pointer, Reference \>::difference\_type` [inherited]`

Distance between iterators is represented as this type.

Reimplemented in **std::reverse\_iterator\< Iterator \>**, and **\_\_gnu\_cxx::normal\_iterator\< Iterator, Container \>**.

Definition at line 111 of file stl\_iterator\_base\_types.h.

## Author

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