Title
future_error public constructor is 'exposition only'
Status
resolved
Section
[futures.future.error]
Submitter
LWG

Created on 2009-06-28.00:00:00 last changed 162 months ago

Messages

Date: 2011-04-30.23:09:42

[ 2009-10 Santa Cruz: ]

NAD EditorialResolved. Solved by N2997.

Date: 2009-10-14.00:00:00

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

Date: 2010-12-05.14:14:49

[ 2009-07 Frankfurt ]

Pending a paper from Anthony Williams / Detlef Vollmann.

Date: 2009-06-28.00:00:00

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.

History
Date User Action Args
2010-12-05 14:14:49adminsetstatus: nad editorial -> resolved
2010-10-21 18:28:33adminsetmessages: + msg966
2010-10-21 18:28:33adminsetmessages: + msg965
2010-10-21 18:28:33adminsetmessages: + msg964
2009-06-28 00:00:00admincreate