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

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

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

### static 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.

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

Maps an element to a position.

### static 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.
