summaryrefslogtreecommitdiffhomepage
path: root/dev/examples/equiv/equiv.cc
blob: 12207f4be1d38cbe9507325a72a84ff818e786ed (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 MIT 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;
}