]>
Commit | Line | Data |
---|---|---|
be58e01d | 1 | // { dg-do compile { target c++11 } } |
cdd306be | 2 | |
fbd26352 | 3 | // Copyright (C) 2005-2019 Free Software Foundation, Inc. |
cdd306be | 4 | // |
5 | // This file is part of the GNU ISO C++ Library. This library is free | |
6 | // software; you can redistribute it and/or modify it under the | |
7 | // terms of the GNU General Public License as published by the | |
6bc9506f | 8 | // Free Software Foundation; either version 3, or (at your option) |
cdd306be | 9 | // any later version. |
bec9a462 | 10 | |
cdd306be | 11 | // This library is distributed in the hope that it will be useful, |
12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | // GNU General Public License for more details. | |
cdd306be | 15 | |
92db39d4 | 16 | // You should have received a copy of the GNU General Public License along |
6bc9506f | 17 | // with this library; see the file COPYING3. If not see |
18 | // <http://www.gnu.org/licenses/>. | |
92db39d4 | 19 | |
20 | // 20.6.6.2 Template class shared_ptr [util.smartptr.shared] | |
cdd306be | 21 | |
bec9a462 | 22 | #include <memory> |
cdd306be | 23 | |
92db39d4 | 24 | // 20.6.6.2.4 shared_ptr modifiers [util.smartptr.shared.mod] |
25 | ||
26 | // swap | |
27 | ||
28 | // libstdc++/24805 | |
29 | using std::swap; |