summaryrefslogtreecommitdiffhomepage
path: root/examples/option_example/example.cc
blob: 0da9d49551a8dbd66e67e1308e5c7c8f303164b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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");

    ocl::option opt2{ocl::eval_eq(argv, nullptr)};
    opt2.expect("is incorrect");

	return 0;
}