summaryrefslogtreecommitdiffhomepage
path: root/dev/examples/equiv/equiv.cc
blob: 41128a21f4d7dc8c7c21f48ef7059d2b51d2766d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 
  string checksum example
  written by Amlal El Mahrouss.
  licensed under the Boost Software License
 */

#include <lib/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;
}