Value ValueIteratorBase::key () const { const Value::CZString czstring = (*current_).first; if (czstring.c_str ()) { if (czstring.isStaticString ()) return Value (StaticString (czstring.c_str ())); return Value (czstring.c_str ()); } return Value (czstring.index ()); }
unsigned ValueIteratorBase::index () const { const Value::CZString czstring = (*current_).first; if (!czstring.c_str ()) return czstring.index (); return unsigned (-1); }