The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.c++
From: Howard Hinnant <howard.hinn...@gmail.com>
Date: Sun, 15 Aug 2010 07:49:43 -0700 (PDT)
Local: Sun, Aug 15 2010 10:49 am
Subject: Re: Class invariants and implicit move constructors (C++0x)
On Aug 15, 12:07 am, Scott Meyers <NeverR...@aristeia.com> wrote:
> Consider a class with two containers, where the sum of the sizes of the <snip> > containers is cached. The class invariant is that as long as the cache is > claimed to be up to date, the sum of the sizes of the containers is accurately > cached: > The above scenario suggests that compiler-generated move operations may be I believe so. > unsafe even when the corresponding compiler-generated copy operations are safe. > Is this a valid analysis? I don't have much to add that others haven't already said, except to http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3053.html -Howard You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||