Commit 36fd1fb3 authored by Adam Osewski's avatar Adam Osewski
Browse files

Update output stream operator for Sequence.

parent 48ae4051
...@@ -903,7 +903,8 @@ std::ostream& operator<<(std::ostream& os, const ck::Sequence<Is...>) ...@@ -903,7 +903,8 @@ std::ostream& operator<<(std::ostream& os, const ck::Sequence<Is...>)
{ {
using S = ck::Sequence<Is...>; using S = ck::Sequence<Is...>;
os << "{"; os << "{";
ck::static_for<0, S::Size(), 1>{}([&](auto i) { os << S::At(i).value << ", "; }); ck::static_for<0, S::Size() - ck::Number<1>{}, 1>{}(
os << "}"; [&](auto i) { os << S::At(i).value << ", "; });
os << S::At(S::Size() - ck::Number<1>{}).value << "}";
return os; return os;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment