pmed/sqlitepp — pull request #1 by velimir0xff (2012-09-30 18:16:50+00:00)
Title: swap function for std::basic_ostringstream was broken

On compiler older than Visual Studio C++ 2010 or GCC implemented swap
function leaves out stream write position.
It affected on expressions where shift operator was used several times.
Ex:
sqlitepp::statement st(session);
st << "INSERT INTO tmp "
// next opearotr << overwrite stream buffer
<< "values(:int)", sqlitepp::use(42);
st.exec(); // and exception will be raised here.