---
name: "std::__detail::_Compiler"
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/std::__detail::_Compiler"
---

# std::\_\_detail::\_Compiler(3)

Builds an NFA from an input iterator range.

## NAME

std::\_\_detail::\_Compiler\< \_TraitsT \> - Builds an NFA from an input iterator range.

## SYNOPSIS

\#include \<regex\>

### Public Types

typedef \_TraitsT::char\_type **\_CharT**\
 typedef **regex\_constants::syntax\_option\_type** **\_FlagT**\
 typedef \_NFA\< \_TraitsT \> **\_RegexT**\

### Public Member Functions

**\_Compiler** (const \_CharT \*\_\_b, const \_CharT \*\_\_e, const typename \_TraitsT::locale\_type &\_\_traits, **\_FlagT** \_\_flags)\
 **shared\_ptr**\< const \_RegexT \> **\_M\_get\_nfa** () noexcept\

## Detailed Description

### template\<typename \_TraitsT\>

class std::\_\_detail::\_Compiler\< \_TraitsT \>"Builds an NFA from an input iterator range.

The \_TraitsT type should fulfill the requirements in C++11 28.3 \[re.req\].

## Author

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