array indicies and member() and path()
Status: Pre-Alpha
Brought to you by:
mark_lentczner
Several functions, notably, NameSpace::path() and
ObjectPointer::member() don't handle path segments that
are array indicies.
If the path segment is a number, then these would be
array lookups.
Certainly NameSpace::path() should, and perhaps
ObjectPointer::member(const pt::string&) should.
Question: What should these do with badly formed
numbers, like "345q"? or negative numbers "-22" or
decimal points "4.2" or "4.0" or "4."?
Also, should we have ObjectPointer::path(const Path& p)?
This would be shorthand for:
NameSpace::path(*this, p)
Logged In: YES
user_id=219202
there is now support in NameSpace::path() - which is all we need for
now
The other aspects of this issue are good questions to think about