cli20 0.1.2
A C++20 typed-schema command-line parser
Loading...
Searching...
No Matches
cli::pack::InsertOrAssign Struct Reference

#include <action.hh>

Classes

struct  StorageTypeImpl
struct  StorageTypeImpl< Prev, true >

Public Types

template<class Prev>
using after_type = void
template<class Prev>
using storage_type = typename StorageTypeImpl<Prev>::type

Public Member Functions

template<class T>
auto operator() (ActionCtx< storage_type< T > > ctx, ActionResult< T > input) const -> ActionResult< void >

Static Public Attributes

template<class Prev>
static constexpr bool accepts_input = detail::PairLike<Prev>

Detailed Description

Definition at line 1708 of file action.hh.

Member Typedef Documentation

◆ after_type

template<class Prev>
using cli::pack::InsertOrAssign::after_type = void

Definition at line 1713 of file action.hh.

◆ storage_type

template<class Prev>
using cli::pack::InsertOrAssign::storage_type = typename StorageTypeImpl<Prev>::type

Definition at line 1727 of file action.hh.

Member Function Documentation

◆ operator()()

template<class T>
auto cli::pack::InsertOrAssign::operator() ( ActionCtx< storage_type< T > > ctx,
ActionResult< T > input ) const -> ActionResult< void >
inline

Definition at line 1730 of file action.hh.

Member Data Documentation

◆ accepts_input

template<class Prev>
bool cli::pack::InsertOrAssign::accepts_input = detail::PairLike<Prev>
staticconstexpr

Definition at line 1710 of file action.hh.


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