This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
505. Result_type in random distribution requirementsSection: 29.5.3 [rand.req], 99 [tr.rand.req] Status: CD1 Submitter: Walter Brown Opened: 2005-07-03 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [rand.req].
View all issues with CD1 status.
Discussion:
Table 17: Random distribution requirements
Row 1 requires that each random distribution provide a nested type "input_type"; this type denotes the type of the values that the distribution consumes.
Inspection of all distributions in [tr.rand.dist] reveals that each distribution provides a second typedef ("result_type") that denotes the type of the values the distribution produces when called.
Proposed resolution:
It seems to me that this is also a requirement for all distributions and should therefore be indicated as such via a new second row to this table 17:
X::result_type T --- compile-time[ Berlin: Voted to WP. N1932 adopts the proposed resolution: see Table 5 row 1. ]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4