20 template<
class IsEndian>
21 void print_endianity();
24 void print_endianity<boost::mpl::true_>() {
25 cout <<
"\nLittle Endian machine !!!\n" << endl;
30 void print_endianity<boost::mpl::false_>() {
31 cout <<
"\nBig Endian machine !!!\n" << endl;
37 print_endianity<little_endian_machine::type>();
Main namespace of all Michele De Stefano's C++ utilities.
Contains classes to test machine endianity.