args-parser 6.3.3
Loading...
Searching...
No Matches
Args::details Namespace Reference

Classes

class  API
 Auxiliary API. More...
 
class  API< PARENT, Command, ARGPTR, false >
 Auxiliary API. More...
 
class  API< PARENT, SELF, ARGPTR, false >
 Auxiliary API. More...
 
class  API< PARENT, SELF, ARGPTR, true >
 Auxiliary API. More...
 
class  Deleter
 Deleter. More...
 
struct  DummyString
 

Functions

template<typename T >
constexpr std::add_const< T >::type & asConst (T &t) noexcept
 Adds const to non-const objects.
 
template<typename T >
void asConst (const T &&)=delete
 

Function Documentation

◆ asConst() [1/2]

template<typename T >
void Args::details::asConst ( const T &&  )
delete

◆ asConst() [2/2]

template<typename T >
constexpr std::add_const< T >::type & Args::details::asConst ( T t)
constexprnoexcept

Adds const to non-const objects.

Definition at line 72 of file utils.hpp.