Ragel ( http://www.complang.org/ragel/ ) is a good choice for tiny inline custom parsing applications.

Soeren.Meyer-Eppler wrote:
SOCI behavior is incorrect.  It's non-trivial to implement the correct
behavior in a thread-safe and portable way.  We discussed it on
soci-devel and at the time decided to ignore the issue until some user
hits it.  I guess now would be a good time to revisit it.

My current hack is to call setlocale( "C" ) in the SQLite backend and
resetting to the original locale afterwards. I guess this has the
concurrency issues you are talking about. The alternative would be to
use a std::stringstream with a locale imbued. That should do the trick - no?

cheers,

    Sören

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to