#include <config.h>
#include "../convert.h"
-#include "../docstring.h"
#include <iostream>
+#include <string>
using lyx::convert;
using namespace std;
-
-namespace lyx {
- // Dummy LyXRC support
- struct LyXRC { string icon_set; } lyxrc;
-
- // Keep the linker happy on Windows
- void lyx_exit(int) {}
-
- docstring const _(string const & s) { return from_ascii(s); }
-}
-
-
void convert_int()
{
cout << convert<int>("123") << '\n'