On 2009-07-17 at 09:57:03 [+0200], PulkoMandy <pulkomandy@xxxxxxxxx> wrote: > 2009/7/16 Stephan Assmus <superstippi@xxxxxx>: > > Hi, > > > > On 2009-07-16 at 21:10:23 [+0200], PulkoMandy <pulkomandy@xxxxxxxxx> wrote: > >> What can we do about the deprecated hash_map header ? > > > > headers/private/shared/ has HashMap.h and HashSet.h with BeOS style API. Is > > that something you could use? > > It seems that HashMap.h could work. But the API is different so I have > to rewrite pretty much everything (at least in HashMapCatalog.cpp). > This is probably the better way to avoid future problems, so I guess > i'll go for it... > > Also, oliver suggested to use CharacterEscape insted of ReplaceAll. > This will not work : CharacterEscape will replace all the "\n" in the > string with "\\\n" (backslash + newline) , but I want to get "\\n" > (backslash + letter 'n'). So I can't see how I can use this method. Err, right - then please just ignore my suggestion ;-) cheers, Oliver