File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 350
350
class basic_const_iterator; // freestanding
351
351
352
352
template<class T, @\libconcept {common_with}@<T> U>
353
+ requires @\libconcept {input_iterator}@<common_type_t<T, U>>
353
354
struct common_type<basic_const_iterator<T>, U> { // freestanding
354
355
using type = basic_const_iterator<common_type_t<T, U>>;
355
356
};
356
357
template<class T, @\libconcept {common_with}@<T> U>
358
+ requires @\libconcept {input_iterator}@<common_type_t<T, U>>
357
359
struct common_type<U, basic_const_iterator<T>> { // freestanding
358
360
using type = basic_const_iterator<common_type_t<T, U>>;
359
361
};
360
362
template<class T, @\libconcept {common_with}@<T> U>
363
+ requires @\libconcept {input_iterator}@<common_type_t<T, U>>
361
364
struct common_type<basic_const_iterator<T>, basic_const_iterator<U>> { // freestanding
362
365
using type = basic_const_iterator<common_type_t<T, U>>;
363
366
};
You can’t perform that action at this time.
0 commit comments