template <class Ch, class Tr = std::char_traits<Ch>> class sys::basic_argbufStream buffer for command line arguments.
public std::basic_streambuf< Ch, std::char_traits< Ch > >argc() const -> intGet the number of arguments.
argv() const -> char *const *Get argument array suitable to pass to execve(2) system call.
argv() -> char **Get argument array suitable to pass to execve(2) system call.
xsputn(const char_type * s, std::streamsize n) -> std::streamsizeOverrides std::streambuf::xsputn.
overflow(int_type c) -> int_typeOverrides std::streambuf::overflow.
~basic_argbuf()basic_argbuf(const basic_argbuf &)basic_argbuf(basic_argbuf && rhs)Move-constructor.
basic_argbuf()
Output stream of command line arguments.
public std::ostreamtemplate <class ... Args> append(const Args &... args) -> voidInsert all function arguments as command line arguments.
argc() const -> intGet the number of arguments.
argv() const -> char *const *Get argument array suitable to pass to execve(2) system call.
argv() -> char **Get argument array suitable to pass to execve(2) system call.
argstream(argstream && rhs)Move-constructor.
template <class ... Args> argstream(const Args &... args)Construct argument stream from a list of arguments.
argstream()Construct empty argument stream.