diff options
Diffstat (limited to 'examples/option_example/example.cc')
| -rw-r--r-- | examples/option_example/example.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/option_example/example.cc b/examples/option_example/example.cc new file mode 100644 index 0000000..7649438 --- /dev/null +++ b/examples/option_example/example.cc @@ -0,0 +1,11 @@ +#include <ocl/crc_hash.hpp> +#include <ocl/print.hpp> +#include <ocl/option.hpp> + +int main(int argc, char** argv) +{ + ocl::option opt{ocl::eval_eq(nullptr, nullptr)}; + opt.expect("is incorrect"); + + return 0; +} |
