| 103 | /// \brief Typed version of Comparator::Make |
| 104 | template <typename DType> |
| 105 | std::shared_ptr<TypedComparator<DType>> MakeComparator(Type::type physical_type, |
| 106 | SortOrder::type sort_order, |
| 107 | int type_length = -1) { |
| 108 | return std::static_pointer_cast<TypedComparator<DType>>( |
| 109 | Comparator::Make(physical_type, sort_order, type_length)); |
| 110 | } |
| 111 | |
| 112 | /// \brief Typed version of Comparator::Make |
| 113 | template <typename DType> |