![]() Now, here's the reality of this mess - from two very different and somewhat at-odds perspectives. Thus, a parameter type of VT &is not allowed, nor is VT unless for VT a move is equivalent to a copy (since C++11).No way around it: Apple absolutely could and should do better with this. The expression q (v ) must be convertible to bool for every argument v of type (possibly const) VT, where VT is the value type of InputIt, regardless of value category, and must not modify v. Unary predicate which returns false for the required element. Thus, a parameter type of VT &is not allowed, nor is VT unless for VT a move is equivalent to a copy (since C++11). ![]() The expression p (v ) must be convertible to bool for every argument v of type (possibly const) VT, where VT is the value type of InputIt, regardless of value category, and must not modify v. Unary predicate which returns true for the required element.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |