| 9803 | /// @return An iterator_input_adapter object for the target iterator type. |
| 9804 | template <typename ItrType> |
| 9805 | inline iterator_input_adapter<ItrType> create_iterator_input_adapter(ItrType begin, ItrType end, bool is_contiguous) { |
| 9806 | const utf_encode_t encode_type = utf_encode_detector<ItrType>::detect(begin, end); |
| 9807 | return iterator_input_adapter<ItrType>(begin, end, encode_type, is_contiguous); |
| 9808 | } |
| 9809 | |
| 9810 | /// @brief A factory method for iterator_input_adapter objects with iterator values. |
| 9811 | /// @tparam ItrType An iterator type. |