Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 331 Bytes
#include "copy.h"
#include <algorithm>
#include <iostream>
#include <iterator>
namespace stiX {
void copy(std::istream &in, std::ostream &out) {
std::copy(
std::istreambuf_iterator<char>(in),
std::istreambuf_iterator<char>(),
std::ostreambuf_iterator<char>(out)
);
}
}
You can’t perform that action at this time.