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

# \_\_gnu\_pbds::sample\_trie\_access\_traits(3)

A sample trie element access traits.

## NAME

\_\_gnu\_pbds::sample\_trie\_access\_traits - A sample trie element access traits.

## SYNOPSIS

\#include \<sample\_trie\_access\_traits.hpp\>

### Public Types

enum { **max\_size** }\
 typedef std::string::const\_iterator **const\_iterator**\
 typedef char **e\_type**\
 Element type.  typedef rebind\_traits\< \_Alloc, key\_type \>::const\_reference **key\_const\_reference**\
 typedef **std::string** **key\_type**\
 typedef std::size\_t **size\_type**\

### Static Public Member Functions

static const\_iterator **begin** (key\_const\_reference)\
 Returns a const\_iterator to the first element of r\_key.  static size\_type **e\_pos** (**e\_type**)\
 Maps an element to a position.  static const\_iterator **end** (key\_const\_reference)\
 Returns a const\_iterator to the after-last element of r\_key.

## Detailed Description

A sample trie element access traits.

## Member Typedef Documentation

### typedef char \_\_gnu\_pbds::sample\_trie\_access\_traits::e\_type

Element type.

## Member Function Documentation

### const\_iterator \_\_gnu\_pbds::sample\_trie\_access\_traits::begin (key\_const\_reference ) \[inline\], \[static\]

Returns a const\_iterator to the first element of r\_key.

### size\_type \_\_gnu\_pbds::sample\_trie\_access\_traits::e\_pos (e\_type ) \[inline\], \[static\]

Maps an element to a position.

### const\_iterator \_\_gnu\_pbds::sample\_trie\_access\_traits::end (key\_const\_reference ) \[inline\], \[static\]

Returns a const\_iterator to the after-last element of r\_key.

## Author

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