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:
1 parent
81f4b34e06
commit
062aeaf7b6
5 files changed
+488
-384
No files matched your search
@@ -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