diff --git a/endian.hpp b/endian.hpp index c16ba65b..e9f260fb 100644 --- a/endian.hpp +++ b/endian.hpp @@ -171,6 +171,11 @@ namespace cruft { static T convert (T t) { return ltob (t); } }; + template struct converter { + template + static T convert (T t) { return t; } + }; + template T convert (T t) {