| 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 | { |