MCPcopy Create free account
hub / github.com/boostorg/parser / copy_impl

Method copy_impl

example/json.hpp:324–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322
323 private:
324 void copy_impl(value const & other)
325 {
326 if (other.is_local()) {
327 storage_.local_ = other.storage_.local_;
328 } else {
329 storage_.remote_ = remote{other.storage_.remote_.kind_};
330 storage_.remote_.ptr_ =
331 other.storage_.remote_.ptr_->copy_impl();
332 }
333 }
334
335 void move_impl(value && other)
336 {

Callers

nothing calls this directly

Calls 1

is_localMethod · 0.80

Tested by

no test coverage detected