---
name: "__gnu_pbds::detail::rc"
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::rc"
---

# \_\_gnu\_pbds::detail::rc(3)

Redundant binary counter.

## NAME

\_\_gnu\_pbds::detail::rc\< \_Node, \_Alloc \> - Redundant binary counter.

## SYNOPSIS

\#include \<rc.hpp\>

### Public Types

typedef entry\_const\_pointer **const\_iterator**\
 typedef node\_pointer **entry**\

### Public Member Functions

**rc** (const rc &)\
 const const\_iterator **begin** () const\
 void **clear** ()\
 bool **empty** () const\
 const const\_iterator **end** () const\
 void **pop** ()\
 void **push** (entry)\
 size\_type **size** () const\
 void **swap** (rc &)\
 node\_pointer **top** () const\

## Detailed Description

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

class \_\_gnu\_pbds::detail::rc\< \_Node, \_Alloc \>"Redundant binary counter.

## Author

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