Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #14992 > unrolled thread
| Started by | Alan Mackenzie <acm@muc.de> |
|---|---|
| First post | 2012-03-20 18:18 +0000 |
| Last post | 2012-04-02 06:34 -0700 |
| Articles | 10 — 8 participants |
Back to article view | Back to comp.lang.c++
Precise and concise summary of new syntax in C++11 wanted. Alan Mackenzie <acm@muc.de> - 2012-03-20 18:18 +0000
Re: Precise and concise summary of new syntax in C++11 wanted. Dombo <dombo@disposable.invalid> - 2012-03-20 20:17 +0100
Re: Precise and concise summary of new syntax in C++11 wanted. Juha Nieminen <nospam@thanks.invalid> - 2012-03-21 12:13 +0000
Re: Precise and concise summary of new syntax in C++11 wanted. Alan Mackenzie <acm@muc.de> - 2012-03-22 09:30 +0000
Re: Precise and concise summary of new syntax in C++11 wanted. Nobody <nobody@nowhere.com> - 2012-03-22 13:15 +0000
Re: Precise and concise summary of new syntax in C++11 wanted. Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-03-22 14:26 +0000
Re: Precise and concise summary of new syntax in C++11 wanted. Volker Lukas <vlukas@gmx.de> - 2012-03-26 18:41 +0200
Re: Precise and concise summary of new syntax in C++11 wanted. Lynn McGuire <lmc@winsim.com> - 2012-03-23 12:42 -0500
Re: Precise and concise summary of new syntax in C++11 wanted. Lynn McGuire <lmc@winsim.com> - 2012-03-26 11:02 -0500
Re: Precise and concise summary of new syntax in C++11 wanted. rangsynth@gmail.com - 2012-04-02 06:34 -0700
| From | Alan Mackenzie <acm@muc.de> |
|---|---|
| Date | 2012-03-20 18:18 +0000 |
| Subject | Precise and concise summary of new syntax in C++11 wanted. |
| Message-ID | <jkahkq$55b$1@colin.muc.de> |
Hello, All. I'm looking for what the subject says. The sort of question I want it to answer accurately is "in what ways can the keyword auto be used?". I'd like it to be readable (hence ruling out the C++11 standard) and concise (thus ruling out 800 page "introductions" by Stroustrup). A link to a website would be fine. A slim book (something like Kyle Loudon's "C++ Pocket Reference" (pub. O'Reilly)) would also be fine. As I say, it is primarily the syntax which I'm interested in. Thanks in advance for suggestions! -- Alan Mackenzie (Nuremberg, Germany).
[toc] | [next] | [standalone]
| From | Dombo <dombo@disposable.invalid> |
|---|---|
| Date | 2012-03-20 20:17 +0100 |
| Message-ID | <4f68d797$0$14708$5fc3050@news.tiscali.nl> |
| In reply to | #14992 |
Op 20-Mar-12 19:18, Alan Mackenzie schreef: > Hello, All. > > I'm looking for what the subject says. The sort of question I want it to > answer accurately is "in what ways can the keyword auto be used?". > > I'd like it to be readable (hence ruling out the C++11 standard) and > concise (thus ruling out 800 page "introductions" by Stroustrup). > > A link to a website would be fine. A slim book (something like Kyle > Loudon's "C++ Pocket Reference" (pub. O'Reilly)) would also be fine. > > As I say, it is primarily the syntax which I'm interested in. > > Thanks in advance for suggestions! Probably not as precise as you want, but it does give concise overview of the new features in C++11: http://en.wikipedia.org/wiki/C%2B%2B11 I doubt a precise description of C++11 which covers all corner cases, can be concise.
[toc] | [prev] | [next] | [standalone]
| From | Juha Nieminen <nospam@thanks.invalid> |
|---|---|
| Date | 2012-03-21 12:13 +0000 |
| Message-ID | <4f69c5f6$0$2805$7b1e8fa0@news.nbl.fi> |
| In reply to | #14992 |
Alan Mackenzie <acm@muc.de> wrote: > I'm looking for what the subject says. The sort of question I want it to > answer accurately is "in what ways can the keyword auto be used?". The wikipedia article on C++11 might not be concise overall because the additions in the new standard are extensive, but the explanation of each individual feature is quite concise, and it's great introduction to the new features.
[toc] | [prev] | [next] | [standalone]
| From | Alan Mackenzie <acm@muc.de> |
|---|---|
| Date | 2012-03-22 09:30 +0000 |
| Message-ID | <jkerf4$2sqf$1@colin.muc.de> |
| In reply to | #14992 |
Alan Mackenzie <acm@muc.de> wrote: > Hello, All. > I'm looking for what the subject says. The sort of question I want it to > answer accurately is "in what ways can the keyword auto be used?". > I'd like it to be readable (hence ruling out the C++11 standard) and > concise (thus ruling out 800 page "introductions" by Stroustrup). > A link to a website would be fine. A slim book (something like Kyle > Loudon's "C++ Pocket Reference" (pub. O'Reilly)) would also be fine. > As I say, it is primarily the syntax which I'm interested in. Thanks, everybody, for the suggestions. It looks like Wikepedia for now. That really isn't a bad article, if not utterly precise. The C++11 standard is too expensive for me (middle hundreds of Swiss Francs). I should have said why I want the info. I'm updating Emacs's C++ Mode to handle the new features in C++11. -- Alan Mackenzie (Nuremberg, Germany).
[toc] | [prev] | [next] | [standalone]
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Date | 2012-03-22 13:15 +0000 |
| Message-ID | <pan.2012.03.22.13.15.09.663000@nowhere.com> |
| In reply to | #15002 |
On Thu, 22 Mar 2012 09:30:12 +0000, Alan Mackenzie wrote: > Thanks, everybody, for the suggestions. It looks like Wikepedia for now. > That really isn't a bad article, if not utterly precise. The C++11 > standard is too expensive for me (middle hundreds of Swiss Francs). > > I should have said why I want the info. I'm updating Emacs's C++ Mode to > handle the new features in C++11. In which case, a recent draft should be adequate. The Wikipedia article has a link.
[toc] | [prev] | [next] | [standalone]
| From | Jorgen Grahn <grahn+nntp@snipabacken.se> |
|---|---|
| Date | 2012-03-22 14:26 +0000 |
| Message-ID | <slrnjmmdkq.1ls.grahn+nntp@frailea.sa.invalid> |
| In reply to | #15002 |
On Thu, 2012-03-22, Alan Mackenzie wrote: ... > I should have said why I want the info. I'm updating Emacs's C++ Mode to > handle the new features in C++11. Good, and thanks! I'm not the only one who uses it extensively. One approach which maybe requires less deep understanding is to copy the example code from Stroustrup's page and from Wikipedia into Emacs and see if they look ok, if the indentation agrees with one of the Emacs styles, and so on. /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o .
[toc] | [prev] | [next] | [standalone]
| From | Volker Lukas <vlukas@gmx.de> |
|---|---|
| Date | 2012-03-26 18:41 +0200 |
| Message-ID | <jkq63v$n5h$1@tota-refugium.de> |
| In reply to | #15002 |
Hi, Alan Mackenzie wrote: [...] > Thanks, everybody, for the suggestions. It looks like Wikepedia for > now. > That really isn't a bad article, if not utterly precise. The C++11 > standard is too expensive for me (middle hundreds of Swiss Francs). You can get a PDF edition of the current C++ standard for 30$ via ANSI. Search for "14882" at ANSI's webstore. It will list the INCITS/ISO/IEC edition.
[toc] | [prev] | [next] | [standalone]
| From | Lynn McGuire <lmc@winsim.com> |
|---|---|
| Date | 2012-03-23 12:42 -0500 |
| Message-ID | <jkicmj$qj$1@dont-email.me> |
| In reply to | #14992 |
On 3/20/2012 1:18 PM, Alan Mackenzie wrote:
> Hello, All.
>
> I'm looking for what the subject says. The sort of question I want it to
> answer accurately is "in what ways can the keyword auto be used?".
>
> I'd like it to be readable (hence ruling out the C++11 standard) and
> concise (thus ruling out 800 page "introductions" by Stroustrup).
>
> A link to a website would be fine. A slim book (something like Kyle
> Loudon's "C++ Pocket Reference" (pub. O'Reilly)) would also be fine.
>
> As I say, it is primarily the syntax which I'm interested in.
>
> Thanks in advance for suggestions!
Here is a table of the new C++ 11 features that
have been implemented in Visual C++:
http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx
Auto is addressed here
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf
and here
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2546.htm
Lynn
[toc] | [prev] | [next] | [standalone]
| From | Lynn McGuire <lmc@winsim.com> |
|---|---|
| Date | 2012-03-26 11:02 -0500 |
| Message-ID | <jkq3vf$pv5$1@dont-email.me> |
| In reply to | #15016 |
On 3/23/2012 12:42 PM, Lynn McGuire wrote:
> On 3/20/2012 1:18 PM, Alan Mackenzie wrote:
>> Hello, All.
>>
>> I'm looking for what the subject says. The sort of question I want it to
>> answer accurately is "in what ways can the keyword auto be used?".
>>
>> I'd like it to be readable (hence ruling out the C++11 standard) and
>> concise (thus ruling out 800 page "introductions" by Stroustrup).
>>
>> A link to a website would be fine. A slim book (something like Kyle
>> Loudon's "C++ Pocket Reference" (pub. O'Reilly)) would also be fine.
>>
>> As I say, it is primarily the syntax which I'm interested in.
>>
>> Thanks in advance for suggestions!
>
> Here is a table of the new C++ 11 features that
> have been implemented in Visual C++:
> http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx
>
> Auto is addressed here
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf
> and here
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2546.htm
>
> Lynn
An article on the new auto keyword:
http://www.cprogramming.com/c++11/c++11-auto-decltype-return-value-after-function.html
Lynn
[toc] | [prev] | [next] | [standalone]
| From | rangsynth@gmail.com |
|---|---|
| Date | 2012-04-02 06:34 -0700 |
| Message-ID | <21922735.306.1333373653389.JavaMail.geo-discussion-forums@pbp10> |
| In reply to | #14992 |
On Tuesday, March 20, 2012 8:18:02 PM UTC+2, Alan Mackenzie wrote: > Hello, All. > > I'm looking for what the subject says. The sort of question I want it to > answer accurately is "in what ways can the keyword auto be used?". > > I'd like it to be readable (hence ruling out the C++11 standard) and > concise (thus ruling out 800 page "introductions" by Stroustrup). > > A link to a website would be fine. A slim book (something like Kyle > Loudon's "C++ Pocket Reference" (pub. O'Reilly)) would also be fine. > > As I say, it is primarily the syntax which I'm interested in. > > Thanks in advance for suggestions! > > -- > Alan Mackenzie (Nuremberg, Germany). The standard introduces new types like char32_t and char16_t. I have already a library at http://code.coogle.com/p/openrtl that can take full advantage of these types including Unicode collation and full CLDR locale support. The library works now for existing C++ and C compilers for these types and is ready to handle all the string processing, including formatted IO of new character types the new standard has when it becomes ready in compilers.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.c++
csiph-web