Changeset d964c39 for tests/function-operator.cfa
- Timestamp:
- Feb 25, 2023, 6:45:44 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 601bd9e
- Parents:
- ce44c5f (diff), 2d028003 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/function-operator.cfa
rce44c5f rd964c39 10 10 // Created On : Fri Aug 25 15:21:11 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Apr 11 18:27:45 201913 // Update Count : 1 012 // Last Modified On : Sat Feb 25 07:26:10 2023 13 // Update Count : 12 14 14 // 15 15 … … 22 22 23 23 // STL-like Algorithms 24 trait Assignable(T &, U &) { T ?=?(T &, U); }; 25 trait Copyable(T &) { void ?{}(T &, T); }; 26 trait Destructable(T &) { void ^?{}(T &); }; 24 forall(T &, U &) 25 trait Assignable { T ?=?(T &, U); }; 26 forall(T &) 27 trait Copyable { void ?{}(T &, T); }; 28 forall(T &) 29 trait Destructable { void ^?{}(T &); }; 27 30 28 31 trait Iterator(iter & | sized(iter) | Copyable(iter) | Destructable(iter), T) {
Note:
See TracChangeset
for help on using the changeset viewer.