attributes print format
This commit is contained in:
parent
70bc054c7f
commit
950a95502b
|
@ -257,7 +257,7 @@ void sb::Attributes::extend(const Attributes& other, std::size_t count)
|
|||
* prevent it being looked up with arguments other than attributes. */
|
||||
std::ostream& sb::operator<<(std::ostream& out, const Attributes& attributes)
|
||||
{
|
||||
out << "<Attributes (#" << attributes.index() << ", " << attributes.dimensions() << "D, " <<
|
||||
out << "<Attributes #" << attributes.index() << ", " << attributes.dimensions() << "D, " <<
|
||||
attributes.size() << " bytes, ";
|
||||
std::visit([&] (const auto& vector) {
|
||||
if constexpr (!std::is_same_v<std::decay_t<decltype(vector)>, std::monostate>)
|
||||
|
|
Loading…
Reference in New Issue