added operator<< to attribute
This commit is contained in:
parent
e3ef6b3384
commit
a5237d5db5
1 changed files with 10 additions and 1 deletions
|
@ -194,6 +194,15 @@ namespace mapnik
|
|||
is >> t;
|
||||
return attribute(t);
|
||||
}
|
||||
|
||||
template <typename charT, typename traits>
|
||||
inline std::basic_ostream<charT,traits>&
|
||||
operator << (std::basic_ostream<charT,traits>& out,
|
||||
const attribute& attr)
|
||||
{
|
||||
out << attr.to_string();
|
||||
return out;
|
||||
}
|
||||
}
|
||||
|
||||
#endif //ATTRIBUTE_HH
|
||||
|
|
Loading…
Reference in a new issue