N3827: Working Draft Technical Specification - URI -- Glyn Matthews, Dean Michael Berris

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

Date: 2014-01-19

Working Draft Technical Specification - URI

by Glyn Matthews, Dean Michael Berris

Excerpt:

Revisions to N3792

1. Normalization is now an invariant of the std::experimental::uri class.

2. Removed uri_normalization_level.

3. Removed normalize member function.

N3891: A proposal to rename shared_mutex to shared_timed_mutex -- Gor Nishanov, Herb Sutter

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

Date: 2014-01-14

A proposal to rename shared_mutex to shared_timed_mutex

by Gor Nishanov, Herb Sutter

Excerpt:

We propose to rename shared_mutex to shared_timed_mutex:

(a) for consistency with the other mutexes (fixing naming inconsistency);

(b) to leave room for a shared_mutex which can be more efficient on some platforms than shared_timed_ mutex.

N3888: A Proposal to Add 2D Graphics Rendering and Display to C++ -- M McLaughlin, H Sutter, J Zink

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

Date: 2014-01-18

A Proposal to Add 2D Graphics Rendering and Display to C++

by Michael McLaughlin, Herb Sutter, Jason Zink

Excerpt:

The goal of this proposal is to define a 2D drawing API based on a mechanical transformation of the cairo graphics library. Cairo is a comprehensive, cross-platform, widely-used, mature 2D graphics library written in C with an object-oriented style. ...

Computer graphics first appeared in the 1950s. The first recognized video game, Spacewar, was created in 1961. Today, computer graphics are pervasive in modern life, and are even replacing console-style I/O for basic user interaction on many mainstream platform targets. For example, writing a simple cout << "Hello, world!" doesn’t do anything useful on many tablets and smartphones.

Application programmers write programs that often need to render or display basic 2D graphics, including for introductory examples.

N3898: Hashing and Fingerprinting -- Geoff Pike

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

Date: 2014-01-20

Hashing and Fingerprinting

by Geoff Pike

Excerpt:

Given that multiple hash functions may traverse objects of some class, let's separate the code responsible for "traversing" the right parts of objects from the code that computes hashes.

N3849: string_view: a non-owning reference to a string, r6 -- J Yasskin

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

Date: 2014-01-20

string_view: a non-owning reference to a string, revision 6

by Jeffrey Yasskin

Excerpt:

References to strings are very common in C++ programs, but often the callee doesn't care about the exact type of the object that owns the data.

N3858: Resumable Functions -- Niklas Gustafsson, Deon Brewis, Herb Sutter

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

Date: 2014-01-19

Resumable Functions

by Niklas Gustafsson, Deon Brewis, Herb Sutter

Excerpt:

While presenting a proposal that can be adopted or rejected in isolation, this document is related to N3857. The reader is advised to read both as a unit and to consider how the two build on each other for synergy. Reading them in their assigned numeric order is advised.

New in this version: minor changes to examples, explanatory text; make the section on generators clearer.

N3848: Working Draft, Technical Spec. on C++ Extensions for Library Fundamentals -- Jeffrey Yasskin

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

Date: 2014-01-18

Working Draft, Technical Specification on C++ Extensions for Library Fundamentals

by Jeffrey Yasskin

Excerpt:

This technical specification describes extensions to the C++ Standard Library (1.2). These extensions are classes and functions that are likely to be used widely within a program and/or on the interface boundaries between libraries written by different organizations.

... The goal of this technical specification it to build more widespread existing practice for an expanded C++ standard library.

N3851: Multidimensional bounds, index and array_view -- Ɓukasz Mendakiewicz, Herb Sutter

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

Date: 2014-01-17

Multidimensional bounds, index and array_view

by Łukasz Mendakiewicz, Herb Sutter

Excerpt:

Programs performing computations on multidimensional data are relatively common (e.g. operations on dense matrices or image processing) yet there is no standardized approach in C++ to express the concept of dimensionality. This document aims to fill this gap in the Standard C++ Library by proposing the following closely related types:

  • bounds and index as means of defining and addressing multidimensional discrete spaces.
  • array_view and strided_array_view as multidimensional views on contiguous or strided memory ranges, respectively.
  • bounds_iterator providing interoperability with iterator-based algorithms.

While the proposal builds on Microsoft experience of implementing and using similar extent, index and array_view types in their data parallel programming model -- C++ AMP [1] -- we believe that these concepts will also benefit a wider C++ community.

N3832: Task Region -- P Halpern, A Robison, H Hong, A Laksberg, G Nishanov, H Sutter

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

Date: 2014-01-17

Task Region

by Pablo Halpern, Arch Robison, Hong Hong, Artur Laksberg, Gor Nishanov, Herb Sutter

Excerpt:

This paper introduces C++ library functions task_region, task_run and task_wait that enable developers
to write expressive and portable parallel code.

...

A previous proposal, N3711, was presented to the Committee at the Chicago meeting in 2013. N3711 closely
follows the design of the PPL/TBB with slight modifications to improve exception safety.

This proposal adopts a simpler syntax than N3711 -- one that eschews a named object in favor of three
namespace-scoped functions. It improves N3711 in the following ways:

  • The exception handling model is simplified and more consistent with normal C++ exceptions.
  • Strict fork-join parallelism is now enforced at compile time.
  • The syntax allows scheduling approaches other than child stealing.

We aim to converge with the language-based proposal for low-level parallelism described in N3409 and related documents.