Loading...
Searching...
No Matches
pair_adaptor< T, _ > Struct Template Reference

Adaptor for set-like structure: This just wraps a normal container in a few utilities that do almost nothing. More...

#include <CLI11.h>

Inherits false_type.

Public Types

using value_type = typename T::value_type
 
using first_type = typename std::remove_const< value_type >::type
 
using second_type = typename std::remove_const< value_type >::type
 

Static Public Member Functions

template<typename Q >
static auto first (Q &&pair_value) -> decltype(std::forward< Q >(pair_value))
 Get the first value (really just the underlying value)
 
template<typename Q >
static auto second (Q &&pair_value) -> decltype(std::forward< Q >(pair_value))
 Get the second value (really just the underlying value)
 

Detailed Description

template<typename T, typename _ = void>
struct pxr_CLI::CLI::detail::pair_adaptor< T, _ >

Adaptor for set-like structure: This just wraps a normal container in a few utilities that do almost nothing.

Definition at line 1049 of file CLI11.h.

Member Typedef Documentation

◆ first_type

using first_type = typename std::remove_const<value_type>::type

Definition at line 1051 of file CLI11.h.

◆ second_type

using second_type = typename std::remove_const<value_type>::type

Definition at line 1052 of file CLI11.h.

◆ value_type

using value_type = typename T::value_type

Definition at line 1050 of file CLI11.h.

Member Function Documentation

◆ first()

static auto first ( Q &&  pair_value) -> decltype(std::forward<Q>(pair_value))
inlinestatic

Get the first value (really just the underlying value)

Definition at line 1055 of file CLI11.h.

◆ second()

static auto second ( Q &&  pair_value) -> decltype(std::forward<Q>(pair_value))
inlinestatic

Get the second value (really just the underlying value)

Definition at line 1059 of file CLI11.h.


The documentation for this struct was generated from the following file: