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

# \_\_gnu\_pbds::sample\_trie\_node\_update(3)

A sample node updator.

## NAME

\_\_gnu\_pbds::sample\_trie\_node\_update\< Node\_CItr, Node\_Itr, \_ATraits, \_Alloc \> - A sample node updator.

## SYNOPSIS

\#include \<sample\_trie\_node\_update.hpp\>

### Public Types

typedef std::size\_t **metadata\_type**\

### Protected Member Functions

**sample\_trie\_node\_update** ()\
 Default constructor.  void **operator()** (node\_iterator, node\_const\_iterator) const\
 Updates the rank of a node through a node\_iterator node\_it; end\_nd\_it is the end node iterator.

## Detailed Description

### template\<typename Node\_CItr, typename Node\_Itr, typename \_ATraits, typename \_Alloc\>

class \_\_gnu\_pbds::sample\_trie\_node\_update\< Node\_CItr, Node\_Itr, \_ATraits, \_Alloc \>"A sample node updator.

## Constructor & Destructor Documentation

### template\<typename Node\_CItr, typename Node\_Itr, typename \_ATraits, typename \_Alloc\> \_\_gnu\_pbds::sample\_trie\_node\_update\< Node\_CItr, Node\_Itr, \_ATraits, \_Alloc \>::sample\_trie\_node\_update () \[protected\]

Default constructor.

## Member Function Documentation

### template\<typename Node\_CItr, typename Node\_Itr, typename \_ATraits, typename \_Alloc\> void \_\_gnu\_pbds::sample\_trie\_node\_update\< Node\_CItr, Node\_Itr, \_ATraits, \_Alloc \>::operator() (node\_iterator , node\_const\_iterator ) const \[inline\], \[protected\]

Updates the rank of a node through a node\_iterator node\_it; end\_nd\_it is the end node iterator.

## Author

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