October 2013

N3786: Prohibiting "out of thin air" results in C++14 -- Hans Boehm

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: N3786

Date: 2013-09-24

Prohibiting "out of thin air" results in C++14

by Hans Boehm

Excerpt:

This proposal thus eliminates some amount of complicated standardese that we actually want vendors like ARM and IBM to ignore.

There is no consensus in SG1 for a more extensive proposal, such as that in N3710, at this time, i.e. in time for C++14.

N3783: Network Byte Order Conversion -- Robert Pratte

Note: This paper was adopted on Saturday at the Chicago meeting for the new Networking TS.

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: N3783

Date: 2013-09-27

Network Byte Order Conversion

by Robert Pratte

Excerpt:

This proposal adds support to C++ for converting between host and network byte order.

N3789: Constexpr Library Additions: functional -- Marshall Clow

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: N3789

Date: 2013-09-27

Constexpr Library Additions: functional

by Marshall Clow

Excerpt:

This is a revision of N3749. Added changes to the <functional> synopsis.

N3775: Deprecating rand() and Friends -- Walter Brown

Note: This paper was not adopted 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: N3775

Date: 2013-09-25

Deprecating rand() and Friends

by Walter Brown

Excerpt:

This paper proposes to deprecate some <cstdlib> legacy interfaces in order to encourage
programmers to migrate to the <random> component of the C++11 standard library.

This proposal has been separated, at LEWG’s request, from the others in [Bro13b] ...

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: ...