N3818: Centralized Defensive-Programming Support for Narrow Contracts (R2) -- Lakos, Zakharov

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

Date: 2013-10-11

Centralized Defensive-Programming Support for Narrow Contracts (Revision 2)

by John Lakos, Alexei Zakharov

Excerpt:

In this proposal, we describe a centralized facility for supporting defensive runtime validation of function preconditions.

N3817: C++ Latches and Barriers -- Alasdair Mackintosh

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

Date: 2013-10-11

C++ Latches and Barriers

by Alasdair Mackintosh

Excerpt:

We propose a set of commonly-used concurrency classes, some of which may be implemented using efficient lock-free algorithms where appropriate. This paper describes the latch and barrier classes.

Latches are a thread co-ordination mechanism that allow one or more threads to block until an operation is completed. An individual latch is a single-use object; once the operation has been completed, it cannot be re-used.

Barriers are a thread co-ordination mechanism that allow multiple threads to block until an operation is completed. Unlike a latch, a barrier is re-usable; once the operation has been completed, the threads can re-use the same barrier. It is thus useful for managing repeated tasks handled by multiple threads.

A reference implementation of these two classes has been written.

N3816: Polymorphic Memory Resources, r1 -- Pablo Halpern

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

Date: 2013-10-13

Polymorphic Memory Resources - r1

by Pablo Halpern

Excerpt:

A significant impediment to effective memory management in C++ has been the inability to use allocators in non-generic contexts...

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.