- File:
-
- 1 edited
-
libcfa/src/containers/maybe.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/containers/maybe.cfa
ree06e41b r58b6d1b 10 10 // Created On : Wed May 24 15:40:00 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Feb 17 11:22:03 201913 // Update Count : 312 // Last Modified On : Thu Jul 20 15:23:50 2017 13 // Update Count : 2 14 14 // 15 15 … … 39 39 forall(otype T) 40 40 maybe(T) ?=?(maybe(T) & this, maybe(T) that) { 41 if (this.has_value & &that.has_value) {41 if (this.has_value & that.has_value) { 42 42 this.value = that.value; 43 43 } else if (this.has_value) {
Note:
See TracChangeset
for help on using the changeset viewer.