Movatterモバイル変換


[0]ホーム

URL:



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

1431.is_permutation must be more restrictive

Section: 26.6.14[alg.is.permutation]Status:C++11Submitter: INCITSOpened: 2010-08-25Last modified: 2021-06-06

Priority:Not Prioritized

View all issues withC++11 status.

Discussion:

Addresses US-120

is_permutation is underspecified for anything but thesimple case where both ranges have the same value typeand the comparison function is an equivalence relation.

[Resolved in Rapperswil by a motion to directly apply the words from the ballot comment in N3102.]

Proposed resolution:

Restrictis_permutation to the case where it is wellspecified. See Appendix 1 - Additional Details


[8]ページ先頭

©2009-2026 Movatter.jp