Rework intrinsic.hpp to handle GCC and Clang __builtin_bswap* if available. Add test program.

This commit is contained in:
Beman
2013-05-16 10:40:18 -04:00
parent 88268249a9
commit 4066443d89
3 changed files with 66 additions and 15 deletions
+2
View File
@@ -239,6 +239,8 @@ namespace
int cpp_main(int, char * [])
{
cout << "byte swap intrinsics: " BOOST_ENDIAN_INTRINSIC_MSG << endl;
//std::cerr << std::hex;
cout << "int16_t" << endl;