---
name: "std::compare_three_way_result"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::compare_three_way_result/3cxx"
---

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

\[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>`

Inherits std::\_\_detail::\_\_cmp3way\_res\_impl\< \_Tp, \_Up \>.

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