You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
172B

  1. #include <memory>
  2. void copy_ptr(std::shared_ptr<int>& a, std::shared_ptr<int> const& b);
  3. void move_ptr(std::shared_ptr<int>& a, std::shared_ptr<int>& b);
  4. int main() {
  5. }