19 Aug
2008
19 Aug
'08
11:21 a.m.
Robert Kubrick wrote:
You can't. Names must be unique because it should identify a unique named object. Otherwise, we wouldn't be capable to find an object correctly.
A subset of objects could have the same name, but each object would be assigned to a unique slot in the segment. A multimap search on the non-unique name would return an equal_range object.
But you couldn't erase an single object by name, something that some interprocess classes use internally. Sorry but named creation was built under the assumption of unique names. Regards, Ion