https://github.com/amlel-el-mahrouss/stdx
Standard C++ extensions for utility purposes
https://github.com/amlel-el-mahrouss/stdx
cpp library utilities
Last synced: 3 months ago
JSON representation
Standard C++ extensions for utility purposes
- Host: GitHub
- URL: https://github.com/amlel-el-mahrouss/stdx
- Owner: amlel-el-mahrouss
- License: gpl-2.0
- Created: 2023-04-25T11:09:53.000Z (about 2 years ago)
- Default Branch: trunk
- Last Pushed: 2025-03-20T04:01:52.000Z (3 months ago)
- Last Synced: 2025-03-20T04:30:58.088Z (3 months ago)
- Topics: cpp, library, utilities
- Language: C++
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# STDX (Standard eXtended)
Here is an example of how stdx::opt works.
```cpp
#includeint main(int argc, char** argv)
{
auto opt = stdx::opt(stdx::eval_eq(50, 50)).expect("stdex::eval_eq, does not match!");
opt = stdx::opt(stdx::eval_eq(50, 40));
opt.expect("this time it doesn't.");
return 0;
}
```# Licensed under GPL-2