Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion status of rvalue reference proposal (n1377, n1770, et al)
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Howard Hinnant  
View profile  
 More options Jun 19 2005, 8:40 pm
Newsgroups: comp.std.c++
From: hinn...@metrowerks.com (Howard Hinnant)
Date: Mon, 20 Jun 2005 00:40:13 GMT
Local: Sun, Jun 19 2005 8:40 pm
Subject: Re: status of rvalue reference proposal (n1377, n1770, et al)
In article <1119149945.134574.197...@z14g2000cwz.googlegroups.com>,

 "Greg" <gre...@pacbell.net> wrote:
> Howard Hinnant wrote:
> > In article <1119033835.976169.252...@f14g2000cwb.googlegroups.com>,
> >  "Russell Yanofsky" <russell.yanof...@us.army.mil> wrote:

> > > I wanted to find out about the status of the rvalue reference proposal.
> > > Has it been implemented in any real-world compiler?

> > Yes.  Freescale/Metrowerks CodeWarrior has a full language and library
> > implementation (available under a #pragma, default off), though this
> > product has not yet been released.  The information on when and on what
> > platforms it will be released is not yet publicly available.

> Just a slight correction: Version 3.2 of Metrowerks C++ compiler has
> supported the && reference-to-temporary syntax (enabled via a #pragma
> experimental) since it shipped in late summer 2003, according to
> information found in the compiler's Release Notes.

Thanks for the correction Greg.

Now for a correction to the correction: :-)

The 3.2 circa compilers have partial implementation of the rvalue
reference under #pragma experimental (maybe 50%?).  This support was
enough for me to run the experiments documented in N1377.  But some of
the behavior documented in N1377 does not agree with the behavior of the
3.2 compilers.  At that time, it simply did not make sense to invest
more in the compiler as it was too early in the proposal process.  
Additionally the bundled C++ library contained only a little support for
the rvalue reference (vector and string), essentially enough to support
the documented experiments in N1377.

The (internal) 4.0 compilers have full support for N1770, which is also
very close to what is described in N1377.  And the associated library
has full support for those parts of N1771 that fall under namespace std
plus partial support for std::tr1 and Metrowerks:: components.  These
features now fall under #pragma rvalue_refs.

-Howard

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-...@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]


 
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.