---
name: "__gnu_parallel::_Lexicographic"
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_parallel::_Lexicographic/3cxx"
---

# \_\_gnu\_parallel::\_Lexicographic(3cxx)

Compare \_\_a pair of types lexicographically, ascending.

## NAME

\_\_gnu\_parallel::\_Lexicographic\< \_T1, \_T2, \_Compare \> - Compare \_\_a pair of types lexicographically, ascending.

## SYNOPSIS

`#include <multiseq_selection.h>`

Inherits **std::binary\_function\< std::pair\< \_T1, \_T2 \>, std::pair\< \_T1, \_T2 \>, bool \>**.

### Public Types

typedef **std::pair**\< \_T1, \_T2 \> **first\_argument\_type**\
 `first_argument_type` is the type of the first argument  typedef bool **result\_type**\
 `result_type` is the return type  typedef **std::pair**\< \_T1, \_T2 \> **second\_argument\_type**\
 `second_argument_type` is the type of the second argument

### Public Member Functions

**\_Lexicographic** (\_Compare &\_\_comp)\
 bool **operator()** (const **std::pair**\< \_T1, \_T2 \> &\_\_p1, const **std::pair**\< \_T1, \_T2 \> &\_\_p2) const\

## Detailed Description

### template\<typename \_T1, typename \_T2, typename \_Compare\>

class \_\_gnu\_parallel::\_Lexicographic\< \_T1, \_T2, \_Compare \>"Compare \_\_a pair of types lexicographically, ascending.

## Member Typedef Documentation

### typedef std::pair\< \_T1, \_T2 \> std::binary\_function\< std::pair\< \_T1, \_T2 \> , std::pair\< \_T1, \_T2 \> , bool \>::first\_argument\_type` [inherited]`

`first_argument_type` is the type of the first argument

### typedef bool std::binary\_function\< std::pair\< \_T1, \_T2 \> , std::pair\< \_T1, \_T2 \> , bool \>::result\_type` [inherited]`

`result_type` is the return type

### typedef std::pair\< \_T1, \_T2 \> std::binary\_function\< std::pair\< \_T1, \_T2 \> , std::pair\< \_T1, \_T2 \> , bool \>::second\_argument\_type` [inherited]`

`second_argument_type` is the type of the second argument

## Author

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