1 #include <iostream>
2 #include <iomanip>
3 #include <cstdint>
4 #include <typeinfo>
5 
6 #include "color/color.hpp"
7 
main(int argc,char * argv[])8 int main( int argc, char *argv[] )
9  {
10   using namespace color;
11   using namespace std;
12 
13   cout << "yiq<std::uint8_t > is: " << typeid( trait::index< yiq< std::uint8_t  >::category_type >::instance_type ).name() << endl;
14   cout << "yiq<std::uint16_t> is: " << typeid( trait::index< yiq< std::uint16_t >::category_type >::instance_type ).name() << endl;
15   cout << "yiq<std::uint32_t> is: " << typeid( trait::index< yiq< std::uint32_t >::category_type >::instance_type ).name() << endl;
16   cout << "yiq<float        > is: " << typeid( trait::index< yiq< float         >::category_type >::instance_type ).name() << endl;
17   cout << "yiq<double       > is: " << typeid( trait::index< yiq< double        >::category_type >::instance_type ).name() << endl;
18   cout << "yiq<long double  > is: " << typeid( trait::index< yiq< long double   >::category_type >::instance_type ).name() << endl;
19   return EXIT_SUCCESS;
20  }
21