| 73 | /// Returns a copy of x with reversed byte order. |
| 74 | template<typename T> |
| 75 | inline T reverseBytes( const T &x ) |
| 76 | { |
| 77 | // needs specialising for each type |
| 78 | BOOST_STATIC_ASSERT(sizeof(T)==0); |
| 79 | } |
| 80 | |
| 81 | template<> |
| 82 | inline char reverseBytes<char>( const char &x ) |
no outgoing calls
no test coverage detected