
Eric Niebler wrote:
A few days ago, I added mpl::string (a compile-time string class template) to trunk. I expected horrific portability problems with my use of multi-character literals, but it's not as bad as all that judging from the test results. There are only a few failures on compilers I don't have access to: vacpp, sun and borland. I invite anybody with access to these compilers to "bjam string" in the libs/mpl/test directory, try their hand at fixing the problems and submitting a patch.
Thanks!
I ported mpl::string to sun c++ 5.9 (sunos_sparc) and made sure all tests in libs/mpl/test/string.cpp pass. Also verified that gcc-4.3.3 passes all tests on linux with the patch applied. Please, find the patch in the attachment. BR, Dmitry