aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/EnumMap$2.h
diff options
context:
space:
mode:
authorDaniel Krugler <daniel.kruegler@googlemail.com>2011-04-16 00:55:43 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2011-04-16 00:55:43 +0000
commit2705a8d66edb092fa6e8b3131049c2d495e4ea21 (patch)
tree1c35995374e64e9385bcb00f7a32c670d739ce97 /libjava/java/util/EnumMap$2.h
parentdeb9642d054842041402b44d2062d8a5efa40ce0 (diff)
downloadgcc-2705a8d66edb092fa6e8b3131049c2d495e4ea21.zip
gcc-2705a8d66edb092fa6e8b3131049c2d495e4ea21.tar.gz
gcc-2705a8d66edb092fa6e8b3131049c2d495e4ea21.tar.bz2
re PR libstdc++/48635 ([C++0x] unique_ptr<T, D&> moves the deleter instead of copying it)
2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/48635 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&), unique_ptr<>::operator=(unique_ptr<>&&), unique_ptr<_Tp[],>::operator=(unique_ptr&&), unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter instead of moving it. * testsuite/20_util/unique_ptr/assign/48635.cc: New. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r172532
Diffstat (limited to 'libjava/java/util/EnumMap$2.h')
0 files changed, 0 insertions, 0 deletions
odule is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ package java.net; import java.io.IOException; /** * This exception indicates that a generic error occurred related to an * operation on a socket. Check the descriptive message (if any) for * details on the nature of this error * * @author Aaron M. Renn (arenn@urbanophile.com) * @author Per Bothner * @status updated to 1.4 */ public class SocketException extends IOException { /** * Compatible with JDK 1.0+. */ private static final long serialVersionUID = -5935874303556886934L; /** * Create a new instance without a descriptive error message. */ public SocketException() { } /** * Create a new instance with a descriptive error message. * * @param message a message describing the error that occurred */ public SocketException(String message) { super(message); } } // class SocketException