These are chat archives for boostorg/hana

11th
Mar 2017
Jason Rice
@ricejasonf
Mar 11 2017 00:57
Perhaps use hana::typeid_ to strip qualifiers since hana::back returns a reference.
template <typename T, typename F>
constexpr auto on_declval(hana::basic_type<T>, F f) {
  return decltype(hana::typeid_(f(std::declval<T>()))){};
}