diff options
Diffstat (limited to 'examples/equiv/equiv.cc')
| -rw-r--r-- | examples/equiv/equiv.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/equiv/equiv.cc b/examples/equiv/equiv.cc new file mode 100644 index 0000000..0c68e21 --- /dev/null +++ b/examples/equiv/equiv.cc @@ -0,0 +1,19 @@ +/* + string checksum example + written by Amlal El Mahrouss. + licensed under the Boost Software License + */ + +#include <logic/equiv.hpp> +#include <iostream> + +/* finally test it */ +int main(int argc, char** argv) +{ + std::cout << std::boolalpha; + std::cout << ocl::equiv::is_same<bool, int>::value << std::endl; + std::cout << ocl::equiv::is_same<bool, bool>::value << std::endl; + std::cout << ocl::equiv::is_same<int, int>::value << std::endl; + + return 0; +} |
