mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
BSON: Reworked the binary_writer
such that it precomputes the size of the BSON-output.
This way, the output_adapter can work on simple output iterators and no longer requires random access iterators.
This commit is contained in:
@ -102,16 +102,6 @@ class alt_string
|
||||
str_impl.resize(n, c);
|
||||
}
|
||||
|
||||
auto begin() -> std::string::iterator
|
||||
{
|
||||
return str_impl.begin();
|
||||
}
|
||||
|
||||
auto end() -> std::string::iterator
|
||||
{
|
||||
return str_impl.end();
|
||||
}
|
||||
|
||||
template <typename op_type>
|
||||
bool operator<(const op_type& op) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user