| 272 | |
| 273 | template <typename IteratorType> |
| 274 | void AppendFeatureValues(IteratorType first, IteratorType last, |
| 275 | Feature* feature) { |
| 276 | using FeatureType = typename internal::FeatureTrait< |
| 277 | typename std::iterator_traits<IteratorType>::value_type>::Type; |
| 278 | std::copy(first, last, |
| 279 | protobuf::RepeatedFieldBackInserter( |
| 280 | GetFeatureValues<FeatureType>(feature))); |
| 281 | } |
| 282 | |
| 283 | template <typename ValueType> |
| 284 | void AppendFeatureValues(std::initializer_list<ValueType> container, |