recordUndo(cur, Undo::ATOMIC);
interpret(cur, '\\');
break;
-
+
case LFUN_SUBSCRIPT:
// interpret this as if a _ was typed
recordUndo(cur, Undo::ATOMIC);
interpret(cur, '_');
break;
-
+
case LFUN_SUPERSCRIPT:
// interpret this as if a ^ was typed
recordUndo(cur, Undo::ATOMIC);
#include <string>
+
+#if 0
+// Commented out since BOOST_STATIC_ASSERT does not work with gcc 4.0
template <class Target, class Source>
Target convert(Source arg)
{
BOOST_STATIC_ASSERT(sizeof(bool) == 0);
return Target();
}
+#else
+template <class Target, class Source>
+Target convert(Source arg);
+#endif
+
template<>
std::string convert<std::string>(bool);