---
name: "std::to_chars_result"
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::to_chars_result"
---

# std::to\_chars\_result(3)

Result type of std::to\_chars.

## NAME

std::to\_chars\_result - Result type of std::to\_chars.

## SYNOPSIS

\#include \<charconv\>

### Public Member Functions

constexpr **operator bool** () const noexcept\

### Public Attributes

errc **ec**\
 char \* **ptr**\

### Friends

bool **operator==** (const **to\_chars\_result** &, const **to\_chars\_result** &)=default\

## Detailed Description

Result type of std::to\_chars.

## Author

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