endian.cpp 266 B

12345678910111213
  1. #include <cxxomfort/cstddef.hpp>
  2. #include <cxxomfort/bit.hpp>
  3. #include <iostream>
  4. int main () {
  5. using namespace std;
  6. cout<< "LE : "<< (int)endian::little<< " \n"
  7. << "BE : "<< (int)endian::big<< " \n"
  8. << "native : "<< (int)endian::native<< endl;
  9. }