N3815: Enumerator List Property Queries -- Andrew Tomazos, Christian Käser

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

Date: 2013-10-03

Enumerator List Property Queries

by Andrew Tomazos, Christian Käser

Excerpt:

We propose to add three Property Queries [meta.unary.prop.query] to the Metaprogramming and Type Traits Standard Library that provide compile-time access to the enumerator-list of an enumeration type.

N3814: Call for Compile-Time Reflection Proposals -- Jeff Snyder, Chandler Carruth

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

Date: 2013-10-06

Call for Compile-Time Reflection Proposals

by Jeff Snyder, Chandler Carruth

Excerpt:

The reflection study group (SG7) of the C++ standards committee is soliciting proposals for features that add compile-time reflection capabilities to C++. Whilst all proposals regarding reflection in C++ will be considered, the group's current focus is on compile-time reflection. This is because the design of compile-time reflection features will likely influence the requirements for run-time reflection features.

N3810: Alternatives for Array Extensions -- Bjarne Stroustrup

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

Date: 2013-10-13

Alternatives for Array Extensions

by Bjarne Stroustrup

Excerpt:

The most important aspect of an “array alternative” is that it enables simple and efficient use of a run-time-specified amount of stack storage and provides an alternative to the traditional problems of “lost” size and “lost” type that make direct use of arrays error-prone.

Here, I will record some reflections based on the array/dynarray discussions at the Chicago meeting with some brief analysis of the alternatives as a start of a discussion. I consider a resolution urgently needed. We need arrays with run-time-specified bounds and safer access to such storage “yesterday.”

N3806-08: Core Issues Lists -- Wiilliam M. Miller

New WG21 papers are 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: N3806-08

Date: 2013-10-14

C++ Standard Core Language Active Issues, Revision 86

C++ Standard Core Language Defect Reports and Accepted Issues, Revision 86

C++ Standard Core Language Closed Issues, Revision 86

by William M. Miller

Excerpt:

... a group of related documents that together describe the issues that have been raised regarding the C++ Standard.

N3801: Removing Undefined Behavior from the Preprocessor -- Gabriel Dos Reis

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

Date: 2013-10-14

Removing Undefined Behavior from the Preprocessor

by Gabriel Dos Reis

Excerpt:

This paper recommends removal of undefined behavior from the C++ preprocessor. In all cases, the erroneous constructs are identified as violations of diagnosable rules.

N3800: A proposal to add a generalized callable negator (Revision 1) -- Tomasz Kamiński

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

Date: 2013-09-16

A proposal to add a generalized callable negator (Revision 1)

by Tomasz Kamiński

Excerpt:

This proposal is to add function template not_fn that will allow to create negator of any callable object.

Changes since N3699:

  • Change the requirements of not_fn to allow wrapping of move-only types.
  • Added missing Throws clause.
  • Included changes to 20.10 [function.objects]/2 section.
  • Corrected link to "Generic (Polymorphic) Lambda Expressions" proposal.
  • Changed formating of the document.

N3799: Agenda, February 10-15, 2014, Issaquah, WA, USA -- Stephen D. Clamage

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

Date: 2013-10-07

AGENDA, PL22.16 Meeting No. 62, WG21 Meeting No. 57 February 10-15, 2014 -- Issaquah, WA, USA

by Stephen D. Clamage

Excerpt:

The primary focus of this meeting will be completion of CD ballot resolution for C++ 2014.

Remaining time will be devoted to processing DRs and issues from issue lists, work on Technical
Specifications, and work on proposed new features for future standards. Each working group and study
group sets its own detailed agenda.

N3796: std::rand replacement -- Zhihao Yuan

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

Date: 2013-10-02

std::rand replacement

by Zhihao Yuan

Excerpt:

We want to deprecate std::rand friends, while “deprecation without a replacement” is a valid concern. This paper

  1. Propose replacement to the std::rand friends. As a global uniform random number generator, std::rand is considered both handy and useful.
  2. Expose the most widely-used combos from C++11 <random> without pushing the users to learn the whole design of <random>. Smoothing the learning curve can usually optimize the acceptance.

N3795: A more common version of algorithm std::partition_copy -- Vladimir Grigoriev

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

Date: 2013-09-16

A more common version of algorithm std::partition_copy

by Vladimir Grigoriev

Excerpt:

The existent version of algorithm std::partition_copy has limited capabilities. In fact this algorithm is similar to algorithm std::copy but instead of copying all elements of the source sequence in one destination sequence it redirects all elements of the source sequence in either of two destination sequences depending on the given predicate. As in the first case in the second case all elements of the source sequence are processed.

However sometimes there is a need to process only that elements of the source sequence that satisfy some criteria. To demonstrate the idea let consider a simple task to copy all positive elements of an integral array in one container and all negative elements of the same array in some other container without touching elements equal to zero. ...

N3794: Proposal to Add Multi-Dimensional Support to std::array -- Daryle Walker

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

Date: 2013-10-10

Proposal to Add Multi-Dimensional Support to std::array

by Daryle Walker

Excerpt:

The std::array class template adapts array types to standard library classes. But the adaptation is only for the outermost level; the inner dimensions of a multidimensional array type are not considered. This proposal is to change std::array to take multiple dimensions as variadic template arguments.