---
name: "std::_Bit_const_iterator"
section: "3"
platform: "linux"
package: "libstdc++6-4.1-doc"
version: "4.1.1-21"
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 **\_Bit\_iterator\_base**.

## Detailed Description

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

### Public Types

typedef **\_Bit\_const\_iterator** **const\_iterator**\
 typedef bool **const\_reference**\
 typedef ptrdiff\_t **difference\_type**\
 typedef **std::random\_access\_iterator\_tag** **iterator\_category**\
 typedef const bool \* **pointer**\
 typedef bool **reference**\
 typedef bool **value\_type**\

### Public Member Functions

**\_Bit\_const\_iterator** (const **\_Bit\_iterator** &\_\_x)\
 **\_Bit\_const\_iterator** (**\_Bit\_type** \*\_\_x, unsigned int \_\_y)\
 **\_Bit\_const\_iterator** ()\
 void **\_M\_bump\_down** ()\
 void **\_M\_bump\_up** ()\
 void **\_M\_incr** (ptrdiff\_t \_\_i)\
 **const\_reference** **operator \*** () const\
 bool **operator!=** (const **\_Bit\_iterator\_base** &\_\_i) const \
 **const\_iterator** **operator+** (**difference\_type** \_\_i) const \
 **const\_iterator** **operator++** (int)\
 **const\_iterator** & **operator++** ()\
 **const\_iterator** & **operator+=** (**difference\_type** \_\_i)\
 **const\_iterator** **operator-** (**difference\_type** \_\_i) const \
 **const\_iterator** **operator--** (int)\
 **const\_iterator** & **operator--** ()\
 **const\_iterator** & **operator-=** (**difference\_type** \_\_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 \
 **const\_reference** **operator\[\]** (**difference\_type** \_\_i) const \

### Public Attributes

unsigned int **\_M\_offset**\
 **\_Bit\_type** \* **\_M\_p**\

## Member Typedef Documentation

### typedef ptrdiff\_t difference\_type` [inherited]`

Distance between iterators is represented as this type.

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

### typedef std::random\_access\_iterator\_tag iterator\_category` [inherited]`

One of the **tag types**.

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

### typedef const bool\* pointer

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

Reimplemented from **iterator\< std::random\_access\_iterator\_tag, bool \>**.

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

### typedef bool reference

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

Reimplemented from **iterator\< std::random\_access\_iterator\_tag, bool \>**.

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

### typedef bool value\_type` [inherited]`

The type 'pointed to' by the iterator.

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

## Author

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