Title
Comment on [rand.req.dist]/9
Status
nad
Section
[rand.req.dist]
Submitter
Stephan Tolksdorf

Created on 2007-09-21.00:00:00 last changed 164 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

See N2424 for the proposed resolution.

Date: 2010-10-21.18:28:33

[ Bellevue: ]

Close NAD for the reasons given in N2424. In practice it is not inconvenient to meet these requirements.

Date: 2007-09-21.00:00:00

The requirement "P shall have a declaration of the form typedef X distribution_- type" effectively makes the use of inheritance for implementing distributions very inconvenient, because the child of a distribution class in general will not satisfy this requirement. In my opinion the benefits of having a typedef in the parameter class pointing back to the distribution class are not worth the hassle this requirement causes. [In my code base I never made use of the nested typedef but on several occasions could have profited from being able to use simple inheritance for the implementation of a distribution class.]

Proposed resolution: I propose to drop this requirement.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg3592
2010-10-21 18:28:33adminsetmessages: + msg3591
2007-09-21 00:00:00admincreate