MCPcopy Create free account
hub / github.com/boostorg/json / construct

Method construct

include/boost/json/impl/object.hpp:425–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423
424template<class InputIt>
425void
426object::
427construct(
428 InputIt first,
429 InputIt last,
430 std::size_t min_capacity,
431 std::input_iterator_tag)
432{
433 reserve(min_capacity);
434 revert_construct r(*this);
435 while(first != last)
436 {
437 insert(*first);
438 ++first;
439 }
440 r.commit();
441}
442
443template<class InputIt>
444void

Callers

nothing calls this directly

Calls 1

commitMethod · 0.45

Tested by

no test coverage detected