Skip to content

Adding chain operators and fixing unsafe macro#19

Merged
igormironchik merged 4 commits into
igormironchik:masterfrom
poster515:master
Mar 19, 2026
Merged

Adding chain operators and fixing unsafe macro#19
igormironchik merged 4 commits into
igormironchik:masterfrom
poster515:master

Conversation

@poster515
Copy link
Copy Markdown
Contributor

See the “help” example - basically I wanted to be able to chain these setters together to make a little smoother builder pattern.

Also offering a fix to the doctest string macro which uses an unsafe sprintf call - updating with a recommendation from cpp ref

Thanks for the library! Hopefully you’ll consider this PR.

@igormironchik
Copy link
Copy Markdown
Owner

Hello. Thank you for your PR. Your changes looks interesting. I'm a little busy for a few days to have intent sight on your changes, but I can say that you must revert changes in doctest library, even if there is an issue (file an issue to doctest).

I will check your changes in a few days, but they looks at least interesting...

@igormironchik
Copy link
Copy Markdown
Owner

One more thing - use apply-clang-format.sh from the root to format the code before a commit.

@igormironchik igormironchik self-requested a review March 18, 2026 12:22
@igormironchik igormironchik self-assigned this Mar 18, 2026
Comment thread args-parser/command.hpp Outdated
Comment thread args-parser/command.hpp Outdated
@igormironchik
Copy link
Copy Markdown
Owner

I'm waiting for your fixes, and I don't see any problems to not merge it. Thank you for PR.

Comment thread 3rdparty/doctest/doctest.h Outdated
@poster515
Copy link
Copy Markdown
Contributor Author

Thanks for the review!! Will make these changes later today.

@igormironchik igormironchik merged commit c835bdc into igormironchik:master Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants