#include <string>
+// Solaris/x86 version 9 and earlier define these
+#ifdef PC
+# undef PC
+#endif
+#ifdef SP
+# undef SP
+#endif
+
+
/**
* LyXLength - Represents latex length measurement
*/
/// "data" must be a decimal number, followed by a unit
explicit LyXLength(std::string const & data);
+ void swap(LyXLength & rhs)
+ {
+ std::swap(val_, rhs.val_);
+ std::swap(unit_, rhs.unit_);
+ }
+
///
double value() const;
///