Пример #1
0
void copy(array<T, S>& out, const array<J, D>& in)
{
	CHECK(out.length() == in.length(), erange);
	loops::loop<loops::assign_copy_class<T&, const J&> >(
		out.derived(), in.derived());
}
Пример #2
0
	void swap(array<J, D>& a)
	{
		this->derived() = a.derived();
	}