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

# std::compare\_three\_way\_result(3)

\[cmp.result\], result of three-way comparison

## NAME

std::compare\_three\_way\_result\< \_Tp, \_Up \> - \[cmp.result\], result of three-way comparison

## SYNOPSIS

\#include \<compare\>

## Detailed Description

### template\<typename \_Tp, typename \_Up = \_Tp\>

struct std::compare\_three\_way\_result\< \_Tp, \_Up \>"\[cmp.result\], result of three-way comparison

## Author

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