arangodb / velocypack

A fast and compact format for serialization and storage
Other
420 stars 40 forks source link

improve interfaces of Slice and Builder #74

Closed jsteemann closed 3 years ago

jsteemann commented 3 years ago

Use constexpr (potential compile-time) std::char_traits::length for static strings in Slice::get(...), Slice::hasKey(...) and Builder::add(...).

Allow lookup of sub-attributes via arbitrary forward-iterators and via initializer_lists.