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

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

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.
