From 2153585148359846858
X-Google-Thread: f78e5,f5fa8c2235f87223,start
X-Google-NewGroupId: yes
X-Google-Attributes: gid7894ca11fe,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news2.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 31 Mar 2010 18:10:05 -0500
Return-Path: <cppmods@ruralroute.cs.rpi.edu>
To: (Usenet)
From: Scott Meyers <NeverRead@aristeia.com>
Newsgroups: comp.std.c++
Subject: Trivial copy/move operations
Organization: albasani.net
Sender: cppmods@cs.rpi.edu
Approved: austern@google.com
Message-ID: <hotgch$cut$1@news.albasani.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Original-Date: Tue, 30 Mar 2010 11:37:00 -0700
X-Submission-Address: std-c++@netlab.cs.rpi.edu<std-c%2B%2B@netlab.cs.rpi.edu>
Date: Wed, 31 Mar 2010 18:00:23 CST
Lines: 20
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-2IJ15fFO/rGQtAbm8x3SwNjovdgH0G5GMbOhLFqWBrJoVS7FVcMvNpwzUxOd6GaDvoGNQqyWv/3zTrn!7EVx1grQxxjctTVjAmQzZ29lSgBaURgLX1NijOMF9A6Uy0flBv1a7fQz
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Xref: g2news2.google.com comp.std.c++:2343

N3053 (about implicitly-generated move functions) says "Unions have implicit
deleted moves if a members has a non-trivial moves.  This rule is the same
as for copy, and means that a user-defined union copy will not shadow a
move."

Can somebody please summarize for me what it means for a move or copy
operation to be trivial?

Thanks,

Scott

-- 
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use
mailto:std-c++@netlab.cs.rpi.edu<std-c%2B%2B@netlab.cs.rpi.edu>
]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]



