Age | Commit message (Collapse) | Author |
|
|
|
|
|
Speed is more important than alphabetical order (which makes few sense in
JSON in general, and with pointers especially). The use case is indexing
in std containers, i.e. O(log n) with rbtree, so the faster comparison
the better.
|
|
I must be too dumb to understand the mess MSVC (32bit only) did with the
previous loop, and to figure out how it might have make it never end.
Anyway, hopefully any compiler can grok this new loop...
|
|
Allows to sort pointers in (std-)containers and/or index by them.
|
|
|
|
Fixed https://github.com/miloyip/rapidjson-gitbook/issues/1
|
|
allocator of the copied object. The extra copy constructor that takes an allocator as a parameter is distinct if someone really wants to create a copy with a null allocator.
|
|
include/rapidjson/pointer.h:243:40: error: 'StrLen' was not declared in this scope
return Append(name, StrLen(name), allocator);
|
|
|
|
|
|
|
|
UBSAN on Clang/Linux gave:
runtime error: null pointer passed as argument 2, which is declared to never be null
/usr/include/string.h:43:45: note: nonnull attribute specified here
|
|
|
|
|
|
|
|
# Conflicts:
# .gitignore
# include/rapidjson/internal/stack.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Encoding/Decoding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
implementations
|
|
It is needed to prevent linking error for gcc/clang
|
|
|
|
static const member integer not working
|
|
|