detail/utility.hh: regroup some metaprogramming functions.