bux API Reference
1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
Loading...
Searching...
No Matches
test/smoke_ezargs.cpp
#include <
bux/EZArgs.h
>
// bux::C_EZArgs, bux::C_ErrorOrIndex
#include <iostream>
// std::cerr
int
main(
int
argc,
char
*argv[])
{
auto
ret =
bux::C_EZArgs
{}.
parse
(argc, argv);
if
(ret)
std::cout <<
"Parsed ok\n"
;
else
std::cout <<
"Parse returned:\n"
<<ret.
message
();
}
EZArgs.h
bux::C_EZArgs
Definition
EZArgs.h:50
bux::C_EZArgs::parse
C_ErrorOrIndex parse(std::integral auto argc, const char *const argv[]) const
Definition
EZArgs.h:264
bux::C_ErrorOrIndex::message
std::string message() const
Definition
EZArgs.cpp:10
Generated by
1.12.0