Код: Выделить всё
template
Foo create_Foo(const details& details, Iter begin, Iter end) {
return Foo {
.details = details,
.data = {begin, end}
};
}
< /code>
Foo::dataКак я бы достиг этого с концепциями?
Подробнее здесь: https://stackoverflow.com/questions/794 ... t-iterator
Мобильная версия