Philipp A. Hartmann
e8445e0bbc
GenericValue: improve operator[] disambiguation
...
In the original disambiguation fix for `GenericValue::operator[]` (#170 ),
the documentation has been missing, which led to quite badly rendered
Doxygen pages.
During a cleanup, I've realized that a much simpler disambiguation is
possible:
````cpp
GenericValue& operator[](SizeType idx); // array
template <typename T>
GenericValue& operator[](T* name); // object
````
This approach works, as non-template functions are preferred over
template functions.
In order to improve the error messages, the pointer type is restricted
to `(const) Ch`.
Update `tutorial.md` to drop the ambiguity warning.
2014-10-24 13:55:26 +02:00
Milo Yip
98f87905d9
Update tutorial.md
...
Correct `PushBack()` example
2014-09-26 11:32:25 +08:00
Philipp A. Hartmann
24b7976145
tutorial.md: lift restriction to object/array root values
2014-08-11 17:14:31 +02:00
Milo Yip
9892847021
Update documents about erase member/elements, also added some time complexity information.
2014-07-31 23:58:52 +08:00
Philipp A. Hartmann
12c5805c7e
tutorial.md: update for new string API
2014-07-09 11:26:22 +02:00
Philipp A. Hartmann
58b741ac4b
tutorial.md: document GenericValue::Move()
2014-07-09 11:25:55 +02:00
Milo Yip
62970ee230
Improves documentation style, TOC, fixes links.
...
Some links will become broken in GitHub.
2014-07-08 14:11:18 +08:00
miloyip
8d612570c8
Revise doxygen style
...
Imitate readthedocs
2014-07-07 19:15:10 +08:00
Milo Yip
bcd935be87
Merge remote-tracking branch 'origin/master'
...
Conflicts:
doc/stream.md
doc/tutorial.md
2014-07-06 22:48:21 +08:00
Milo Yip
698496e3f3
Minor document adjustments
2014-07-06 22:43:52 +08:00
Philipp A. Hartmann
ba05cc1377
tutorial.md: prepare Markdown for GitHub and Doxygen rendering
2014-07-06 15:35:43 +02:00
Milo Yip
3f3f847036
Add skeleton of documents
2014-07-04 23:57:33 +08:00
Milo Yip
3e4e68b099
Rearrange diagrams and fix typos in tutorial
2014-07-04 10:35:29 +08:00
Milo Yip
23318f2557
Complete tutorial draft
2014-07-03 23:46:30 +08:00
miloyip
f3fa423de0
Updates "Create/Modify Values" section
2014-07-03 19:20:33 +08:00
miloyip
f3ac1de589
Added creatie/modify value section to tutorial
2014-07-02 19:13:14 +08:00
Milo Yip
553a251b5a
Update tutorial.md
2014-07-02 00:41:49 +08:00
Milo Yip
dfcf4f26dd
Update tutorial.md
2014-07-02 00:35:42 +08:00
Milo Yip
a74c5da9da
Update tutorial.md
2014-07-02 00:31:30 +08:00
Milo Yip
c1035cb970
Update tutorial.md
2014-07-02 00:29:33 +08:00
Milo Yip
cbc2c46bb8
Update tutorial.md
...
Fixes table
2014-07-02 00:27:27 +08:00
Milo Yip
bc2daea2f6
Add other query sections in tutorial
2014-07-02 00:20:36 +08:00
miloyip
84a4ff85c5
tutorial draft
2014-07-01 19:17:44 +08:00