operator<<(ostream &, xarray const &)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2183 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-07-04 17:17:32 +00:00
parent 18ed33949f
commit adf2ae0835
3 changed files with 9 additions and 1 deletions

View File

@ -2,6 +2,8 @@
* math_parser.C: fix reading of "unusual" alpha chars
* xarray.[hC]: fix debug output of xarray
2001-07-03 André Pönitz <poenitz@htwm.de>

View File

@ -108,3 +108,9 @@ int MathXArray::width(int pos) const
else
return mathed_char_width(data_.GetCode(pos), style_, data_.GetChar(pos));
}
std::ostream & operator<<(std::ostream & os, MathXArray const & ar)
{
os << ar.data_;
}

View File

@ -61,6 +61,6 @@ public:
MathStyles style_;
};
std::ostream & operator<<(std::ostream & os, MathArray const & ar);
std::ostream & operator<<(std::ostream & os, MathXArray const & ar);
#endif