-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an alternative string_view based trim function.
Usage in Clap now uses colours to spruce it up a bit. Implemented a basis for command-line "operations". Each operation can be defined by deriving from `operations::op<>` with the appropriate template arguments to describe how the `run(...)` function should look. A map of operations is created with the helper function `operations::create<>` which uses a parameter pack of the concrete operation types. Also included is an ostream operator overload that can pretty print a map of operations.
- Loading branch information
Showing
2 changed files
with
114 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters