---
name: "__gnu_pbds::detail::left_child_next_sibling_heap_const_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/__gnu_pbds::detail::left_child_next_sibling_heap_const_iterator_"
---

# \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_(3)

Const point-type iterator.

## NAME

\_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \> - Const point-type iterator.

## SYNOPSIS

\#include \<const\_iterator.hpp\>

Inherits **\_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_node\_point\_const\_iterator\_\< Node, \_Alloc \>**.

### Public Types

typedef **base\_type::const\_pointer** **const\_pointer**\
 Iterator's const pointer type.  typedef **base\_type::const\_reference** **const\_reference**\
 Iterator's const reference type.  typedef \_Alloc::difference\_type **difference\_type**\
 Difference type.  typedef **std::forward\_iterator\_tag** **iterator\_category**\
 Category.  typedef **base\_type::pointer** **pointer**\
 Iterator's pointer type.  typedef **base\_type::reference** **reference**\
 Iterator's reference type.  typedef **base\_type::value\_type** **value\_type**\
 Iterator's value type.

### Public Member Functions

**left\_child\_next\_sibling\_heap\_const\_iterator\_** ()\
 Default constructor.  **left\_child\_next\_sibling\_heap\_const\_iterator\_** (const left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \> &other)\
 Copy constructor.  **left\_child\_next\_sibling\_heap\_const\_iterator\_** (node\_pointer p\_nd)\
 bool **operator!=** (const left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \> &other) const\
 Compares content (negatively) to a different iterator object.  bool **operator!=** (const left\_child\_next\_sibling\_heap\_node\_point\_const\_iterator\_\< Node, \_Alloc \> &other) const\
 Compares content (negatively) to a different iterator object.  **const\_reference** **operator\*** () const\
 Access.  left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \> & **operator++** ()\
 left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \> **operator++** (int)\
 **const\_pointer** **operator-\>** () const\
 Access.  bool **operator==** (const left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \> &other) const\
 Compares content to a different iterator object.  bool **operator==** (const left\_child\_next\_sibling\_heap\_node\_point\_const\_iterator\_\< Node, \_Alloc \> &other) const\
 Compares content to a different iterator object.

### Public Attributes

node\_pointer **m\_p\_nd**\

## Detailed Description

### template\<typename Node, typename \_Alloc\>

class \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>"Const point-type iterator.

## Member Typedef Documentation

### template\<typename Node, typename \_Alloc\> typedef base\_type::const\_pointer \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::const\_pointer

Iterator's const pointer type.

### template\<typename Node, typename \_Alloc\> typedef base\_type::const\_reference \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::const\_reference

Iterator's const reference type.

### template\<typename Node, typename \_Alloc\> typedef \_Alloc::difference\_type \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::difference\_type

Difference type.

### template\<typename Node, typename \_Alloc\> typedef std::forward\_iterator\_tag \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::iterator\_category

Category.

### template\<typename Node, typename \_Alloc\> typedef base\_type::pointer \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::pointer

Iterator's pointer type.

### template\<typename Node, typename \_Alloc\> typedef base\_type::reference \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::reference

Iterator's reference type.

### template\<typename Node, typename \_Alloc\> typedef base\_type::value\_type \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::value\_type

Iterator's value type.

## Constructor & Destructor Documentation

### template\<typename Node, typename \_Alloc\> \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::left\_child\_next\_sibling\_heap\_const\_iterator\_ () \[inline\]

Default constructor.

### template\<typename Node, typename \_Alloc\> \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::left\_child\_next\_sibling\_heap\_const\_iterator\_ (const left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \> & other) \[inline\]

Copy constructor.

## Member Function Documentation

### template\<typename Node, typename \_Alloc\> bool \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::operator!= (const left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \> & other) const \[inline\]

Compares content (negatively) to a different iterator object.

### template\<typename Node, typename \_Alloc\> bool \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_node\_point\_const\_iterator\_\< Node, \_Alloc \>::operator!= (const left\_child\_next\_sibling\_heap\_node\_point\_const\_iterator\_\< Node, \_Alloc \> & other) const \[inline\], \[inherited\]

Compares content (negatively) to a different iterator object.

### template\<typename Node, typename \_Alloc\> const\_reference \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_node\_point\_const\_iterator\_\< Node, \_Alloc \>::operator\* () const \[inline\], \[inherited\]

Access.

### template\<typename Node, typename \_Alloc\> const\_pointer \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_node\_point\_const\_iterator\_\< Node, \_Alloc \>::operator-\> () const \[inline\], \[inherited\]

Access.

### template\<typename Node, typename \_Alloc\> bool \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \>::operator== (const left\_child\_next\_sibling\_heap\_const\_iterator\_\< Node, \_Alloc \> & other) const \[inline\]

Compares content to a different iterator object.

### template\<typename Node, typename \_Alloc\> bool \_\_gnu\_pbds::detail::left\_child\_next\_sibling\_heap\_node\_point\_const\_iterator\_\< Node, \_Alloc \>::operator== (const left\_child\_next\_sibling\_heap\_node\_point\_const\_iterator\_\< Node, \_Alloc \> & other) const \[inline\], \[inherited\]

Compares content to a different iterator object.

## Author

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