>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> ... but I do not like it... I can understand that you do not like it, since it adds lots of #ifdefs. However, we could: 1/ add the .str().c_str() thingies unconditionally. Spotting and removing them later is not difficult. Or we could have a tostr(ostringstream) that does the right thing. Or... 2/ we could have a lyx::regex class which is a simple wrapper (same semantics) around boost::regex that hides the complexity of these .c_str() 3/ Is it possible to have an automatic contructor lyxstring::lyxstring(std::string const & s) and a lyxstring->basic_string convertor std::string lyxstring::operator() [please bear with my fuzzy C++ syntax notions...] The price to pay would be to include <string> everytime we use LString.h, but if we are lucky the amount of code generated would be minimal. JMarc