Core: Value references docs

git-svn-id: svn://ultimatepp.org/upp/trunk@7680 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-09-13 14:23:12 +00:00
parent e3d8fe3a2b
commit 82ee6afcc8
7 changed files with 184 additions and 4 deletions

View file

@ -255,10 +255,10 @@ public:
const Value& operator[](const Id& key) const;
Value& At(int i);
Value& operator()(int i) { return At(i); }
void Add(const Value& src);
template <typename T>
Value& operator<<(const T& src) { Add(src); return *this; }
Value& operator()(int i) { return At(i); }
Value& GetAdd(const Value& key);
Value& operator()(const String& key);