Skip to content
Snippets Groups Projects
Commit 62be3d2e authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Added << operator for attribute

parent 95f55259
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,12 @@ namespace mjcf
};
template <class Derived, typename AttrT>
std::ostream& operator<<(std::ostream& os, const Attribute<Derived, AttrT>& rhs)
{
os << rhs.get();
return os;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment