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

#include <action.hh>

Public Types

template<class Prev>
using after_type = void
template<class Prev>
using storage_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

Detailed Description

Definition at line 1739 of file action.hh.

Member Typedef Documentation

◆ after_type

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

Definition at line 1746 of file action.hh.

◆ storage_type

template<class Prev>
using cli::pack::Extend::storage_type
Initial value:
std::vector<std::ranges::range_value_t<detail::decay_t<Prev>>>

Definition at line 1749 of file action.hh.

Member Function Documentation

◆ operator()()

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

Definition at line 1753 of file action.hh.

Member Data Documentation

◆ accepts_input

template<class Prev>
bool cli::pack::Extend::accepts_input
staticconstexpr
Initial value:
=
std::ranges::input_range<detail::decay_t<Prev>> &&
!detail::StringLike<Prev>

Definition at line 1741 of file action.hh.


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