Results 28 issues of zhihaoy

Please apply the change equivalent to https://github.com/emilk/loguru/commit/0680d78ce8f327400b4fd8b5985533dbdee23ee9#diff-c89cab1e0e006eb5fd435e04adbc910c

When expanding the parameters in function-style macros, the surrounding tokens such as the parentheses in `(a)` and the braces in `{stmt}` are critical. Eating the braces in `for (...){stmt}` can...

I have two `[here](...)` in the document, then I see ``` ../../README.md:3: WARNING: Duplicate explicit target name: "here". ../../README.md:3: WARNING: Duplicate explicit target name: "here". ``` Can we emit anonymous...

From https://www.reddit.com/r/cpp/comments/dzm7lg/argparse_argument_parser_for_modern_c_v20_released/f8c7erq?utm_source=share&utm_medium=web2x > It was not clear from the documentation, so I'd like to know if -- is supported as an argument delimiter? > > `--` is a convention for...

I think Git-like subcommand can be done by inserting a positional argument and dispatch on subparsers. But this is something argparse should provide directly, with `add_subparsers`, for example.

enhancement

First we need to define what are short options and long options. Long options: options with names longer than a single character Short options: options only one character long Option...

If an option wants to parse a list of values `--foo 1,4,2,6`, then it cannot return `std::vector` because this type is considered a container. We probably will never want to...

A boss https://docs.microsoft.com/en-us/cpp/c-language/using-wmain?view=vs-2019 That all C++ cmdline parsing libraries face. A strong demand is to construct `std::path` from command-line arguments, where `std::wstring` is native string type for `std::path` on Windows....

```cpp batch_type x[8] = {}; ``` It is surprising that the code above does not initialize x to zeros. This can be fixed by making `batch() = default;`

## Description Python's behave package has a feature to print behavior test logs on the terminal when it runs. We can do the same. Good for demoing to product people....