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

# \_\_gnu\_pbds::detail::bin\_search\_tree\_const\_it\_(3cxx)

Const iterator.

## NAME

\_\_gnu\_pbds::detail::bin\_search\_tree\_const\_it\_\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> - Const iterator.

## SYNOPSIS

`#include <point_iterators.hpp>`

Inherited by **\_\_gnu\_pbds::detail::bin\_search\_tree\_it\_\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \>**.

### Public Types

typedef Const\_Pointer **const\_pointer**\
 typedef Const\_Reference **const\_reference**\
 typedef \_Alloc::difference\_type **difference\_type**\
 typedef **std::bidirectional\_iterator\_tag** **iterator\_category**\
 typedef Pointer **pointer**\
 typedef Reference **reference**\
 typedef Value\_Type **value\_type**\

### Public Member Functions

**bin\_search\_tree\_const\_it\_** (const **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, !Is\_Forward\_Iterator, \_Alloc \> &other)\
 **bin\_search\_tree\_const\_it\_** (const Node\_Pointer p\_nd=0)\
 bool **operator!=** (const **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, !Is\_Forward\_Iterator, \_Alloc \> &other) const\
 bool **operator!=** (const **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> &other) const\
 const\_reference **operator\*** () const\
 **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> & **operator++** ()\
 **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> **operator++** (int)\
 **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> & **operator--** ()\
 **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> **operator--** (int)\
 const\_pointer **operator-\>** () const\
 **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> & **operator=** (const **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, !Is\_Forward\_Iterator, \_Alloc \> &other)\
 **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> & **operator=** (const **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> &other)\
 bool **operator==** (const **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, !Is\_Forward\_Iterator, \_Alloc \> &other) const\
 bool **operator==** (const **bin\_search\_tree\_const\_it\_**\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \> &other) const\

### Public Attributes

Node\_Pointer **m\_p\_nd**\

### Protected Member Functions

void **dec** (false\_type)\
 void **dec** (true\_type)\
 void **inc** (false\_type)\
 void **inc** (true\_type)\

## Detailed Description

### template\<typename Node\_Pointer, typename Value\_Type, typename Pointer, typename Const\_Pointer, typename Reference, typename Const\_Reference, bool Is\_Forward\_Iterator, typename \_Alloc\>

class \_\_gnu\_pbds::detail::bin\_search\_tree\_const\_it\_\< Node\_Pointer, Value\_Type, Pointer, Const\_Pointer, Reference, Const\_Reference, Is\_Forward\_Iterator, \_Alloc \>"Const iterator.

## Author

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