Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofResolved status.

1160.future_error public constructor is 'exposition only'

Section: 32.10.4[futures.future.error]Status:ResolvedSubmitter: LWGOpened: 2009-06-28Last modified: 2021-06-06

Priority:Not Prioritized

View all issues withResolved status.

Discussion:

Addresses UK 331

Description

Not clear what it means for a public constructor to be 'exposition only'. If the intent is purely to support the library calling this constructor then it can be made private and accessed through friendship. Otherwise it should be documented for public consumption.

Suggestion

Declare the constructor as private with a note about intended friendship, or remove the exposition-only comment and document the semantics.

Notes

Create an issue. Assigned to Detlef. Suggested resolution probably makes sense.

[2009-07 Frankfurt]

Pending a paper from Anthony Williams / Detlef Vollmann.

[2009-10-14 Pending paper:N2967.]

[2009-10 Santa Cruz:]

NAD EditorialResolved. Solved byN2997.

Proposed resolution:


[8]ページ先頭

©2009-2026 Movatter.jp