Jesse Beder
|
e7ac6b3bf1
|
Refactored the operator >> and Node::Read default functions, as well as the conversion functions, to more easily read new types as keys (this uncovered an error, in example 2.11 of the spec)
|
2009-09-06 20:52:45 +00:00 |
|
Jesse Beder
|
07443495c8
|
Added templated casting to nodes, as well as operator == and != (for quick checks, especially to help in testing). Implemented size() on a map node to return the number of key/value pairs (as in std::map)
|
2009-09-06 15:54:11 +00:00 |
|
Jesse Beder
|
81c2e6b6ca
|
Converted indexing to std::size_t, and fixed the Node templated overloads to properly index any index type (determining what is an index type is a bit of a hack - it should be is_convertible<T, std::size_t> (I think), but I just explicitly wrote down a list)
|
2009-08-19 20:58:07 +00:00 |
|
Jesse Beder
|
d92ca21bcc
|
Added templated Read() function that creates the output variable itself (so you don't need to have a temp variable)
|
2009-08-19 03:37:19 +00:00 |
|
Jesse Beder
|
72919adf55
|
Added header file inclusion guards
|
2009-07-29 22:27:20 +00:00 |
|
Jesse Beder
|
b1ce042535
|
Collected pos, line, and column into a Mark struct
|
2009-07-27 02:56:18 +00:00 |
|
Jesse Beder
|
a84c1af98a
|
Added FindValue to more easily read optional keys in a map
|
2009-07-12 02:59:23 +00:00 |
|