summaryrefslogtreecommitdiffhomepage
path: root/dev/examples/equiv/equiv.cc
blob: 896637d239af1b210ec73a2ab3975bd11b70631f (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 << snu::equiv::is_same<bool, int>::value << std::endl;
	std::cout << snu::equiv::is_same<bool, bool>::value << std::endl;
	std::cout << snu::equiv::is_same<int, int>::value << std::endl;

	return 0;
}