Код: Выделить всё
template< class InputIt > basic_string( InputIt first, InputIt last, const Allocator& alloc = Allocator() );
Код: Выделить всё
#include
#include
int main(){
std::array accum = {0, 1, 1, 0};
for (int i : accum) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79353499/stdstring-constructor-not-creating-string-from-iterators[/url]