summaryrefslogtreecommitdiffhomepage
path: root/examples/equiv/equiv.cc
blob: 0c68e21ac3ac2421bcab0c3ee10a25f218e95232 (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 <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;
}