N3779: User-defined Literals for std::complex, part 2 of UDL for ... (version 5) -- Peter Sommerlad

Note: This paper was adopted on Saturday at the Chicago meeting.

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N3779

Date: 2013-09-24

User-defined Literals for std::complex, part 2 of UDL for Standard Library Types (version 5)

by Peter Sommerlad

Excerpt:

Changes from N3660: Change the name of suffix for complex<float> from i_f to if and removing the
whitespace after the double quotes accordingly.

N3778: C++ Sized Deallocation -- Lawrence Crowl

Note: This paper was adopted on Saturday at the Chicago meeting.

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N3778

Date: 2013-09-27

C++ Sized Deallocation

by Lawrence Crowl

Excerpt:

Permit implementations and programmers to define sized versions of the global operator delete. The compiler shall call the sized version in preference to the unsized version when the sized version is available.

N3781: Single-Quotation-Mark as a Digit Separator -- L Crowl, R Smith, J Snyder, D Vandevoorde

Note: This paper was adopted on Saturday at the Chicago meeting.

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N3781

Date: 2013-09-25

Single-Quotation-Mark as a Digit Separator

by Lawrence Crowl, Richard Smith, Jeff Snyder, Daveed Vandevoorde

Excerpt:

This paper describes wording changes to implement the use of a single quote (‘) as a digit
separator. It is very similar to the wording changes proposed in N3448, but includes some small
corrections and an addition to Appendix C.

...

[Example: ... The literals 10485761'048'576, 0X100000, 0x10'0000, and 0'004'000'000 all have the same value. — end example] ...

[Example: The literals 1.602'176'565e-19 and 1.602176565e-19 have the same value. — end example]

N3760: [[deprecated]] attribute] -- Alberto Ganesh Barbati

Note: This paper was adopted on Saturday at the Chicago meeting.

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N3760

Date: 2013-09-01

[[deprecated]] attribute

by Alberto Ganesh Barbati

Excerpt:

This is an update of N3394, bearing changes proposed in the pre-Chicago Drafting Review Teleconference of 2013-08-26. The main difference is that the list of the cases where the attribute can be used has changed, by removing namespaces, enumerators, templates and adding non-static data members.

Motivation

Several existing implementations provide ways to annotate entities whose use is discouraged. The goal is achieved using an implementation-specific decoration syntax. For example: ...

A Tour of C++ -- Bjarne Stroustrup

tour.jpgBjarne Stroustrup's new book is now available:

A Tour of C++

by Bjarne Stroustrup

(see on Amazon)

From the announcement:

The tone of the book is set when the author uses an analogy to reference "A Tour of C++." He writes, "...think of a short sightseeing tour of a city, such as Copenhagen or New York. In just a few hours, you are given a quick peek at the major attractions, told a few background stories, and usually given some suggestions about what to see next. You do not know the city after such a tour. You do not understand all you have seen and heard. To really know a city, you have to live in it, often for years. However, with a bit of luck, you will have gained a bit of an overview, a notion of what might be special about the city, and ideas of what might be of interest to you. After the tour, the real exploration can begin."

Much of "A Tour of C++" is written as though the reader is having a friendly chat about C++ programming with the author.

C++ Papers for Chicago - Library

This is the third part of my series about the C++ papers for Chicago:

C++ Papers for Chicago: Part 3 - Library

by Jens Weller

From the article:

This week the C++ committee meeting has started in Chicago, and we will hopefully see at its end, what improvements C++14 brings to C++11. And in this 3rd part of my series for the Chicago papers, I will start looking at the library proposals...