24 Oct
2009
24 Oct
'09
9:38 a.m.
managed_shared_memory segment(open_or_create,MySharedMemory, 999999999);
This is not a valid mode you pass to managed_shared_memory. Read man 2 open. And btw, there is a trim() function already in boost string_algo: http://www.boost.org/doc/libs/1_40_0/doc/html/boost/algorithm/trim.html But it doesn't behave exactly like your implementation. If you really intended that behaviour you could use: http://www.boost.org/doc/libs/1_40_0/doc/html/boost/algorithm/replace_all.ht... Chris -- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3