+2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * array.h (operator<<):
+ * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
+
+ * math_macrotable.C: added using std::make_pair directive.
+ (dump): added using std::cerr directive here as I guess that this is
+ temporary.
+
2001-04-20 Allan Rae <rae@lyx.org>
* formula.C (LocalDispatch): fixed another #warning. Guess who.
};
inline
-ostream & operator<<(ostream & os, MathedArray const & ar)
+std::ostream & operator<<(std::ostream & os, MathedArray const & ar)
{
ar.dump(os);
return os;
///
void expand();
///
- void dump(ostream & os) const;
+ void dump(std::ostream & os) const;
///
MathParInset const * arg(int) const;
///
void operator=(MathMacro const &);
};
-inline ostream & operator<<(ostream & os, MathMacro const & m)
+inline std::ostream & operator<<(std::ostream & os, MathMacro const & m)
{
m.dump(os);
return os;
#include "support/LAssert.h"
using std::endl;
+using std::make_pair;
MathMacroTable::table_type MathMacroTable::macro_table;
void MathMacroTable::dump()
{
+ using std::cerr;
+
cerr << "\n------------------------------------------\n";
table_type::const_iterator it;
for (it = macro_table.begin(); it != macro_table.end(); ++it)