scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::basic_args< Context > Class Template Reference

#include <args.h>

Public Types

using arg_type = typename Context::arg_type
 

Public Member Functions

constexpr basic_args () noexcept=default
 
template<typename... Args>
SCN_CONSTEXPR14 basic_args (arg_store< Context, Args...> &store) noexcept
 
SCN_CONSTEXPR14 basic_args (span< arg_type > args) noexcept
 
SCN_CONSTEXPR14 arg_type get (std::ptrdiff_t i) const noexcept
 
SCN_CONSTEXPR14 bool check_id (std::ptrdiff_t i) const noexcept
 
constexpr size_t max_size () const noexcept
 

Detailed Description

template<typename Context>
class scn::basic_args< Context >

Definition at line 32 of file args.h.

Member Typedef Documentation

template<typename Context>
using scn::basic_args< Context >::arg_type = typename Context::arg_type

Definition at line 510 of file args.h.

Constructor & Destructor Documentation

template<typename Context>
constexpr scn::basic_args< Context >::basic_args ( )
defaultnoexcept
template<typename Context>
template<typename... Args>
SCN_CONSTEXPR14 scn::basic_args< Context >::basic_args ( arg_store< Context, Args...> &  store)
inlinenoexcept

Definition at line 515 of file args.h.

template<typename Context>
SCN_CONSTEXPR14 scn::basic_args< Context >::basic_args ( span< arg_type args)
inlinenoexcept

Definition at line 521 of file args.h.

Member Function Documentation

template<typename Context>
SCN_CONSTEXPR14 bool scn::basic_args< Context >::check_id ( std::ptrdiff_t  i) const
inlinenoexcept

Definition at line 532 of file args.h.

template<typename Context>
SCN_CONSTEXPR14 arg_type scn::basic_args< Context >::get ( std::ptrdiff_t  i) const
inlinenoexcept

Definition at line 527 of file args.h.

template<typename Context>
constexpr size_t scn::basic_args< Context >::max_size ( ) const
inlinenoexcept

Definition at line 542 of file args.h.

Member Data Documentation

template<typename Context>
arg_type* scn::basic_args< Context >::m_args

Definition at line 554 of file args.h.

template<typename Context>
detail::value<Context>* scn::basic_args< Context >::m_values

Definition at line 553 of file args.h.


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