Changeset f851015 for src/libcfa/containers/maybe
- Timestamp:
- May 25, 2017, 3:35:50 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 1eeab94
- Parents:
- cc38669 (diff), 58daf53 (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
-
TabularUnified src/libcfa/containers/maybe ¶
rcc38669 rf851015 8 8 // 9 9 // Author : Andrew Beach 10 // Created On : Wed May 2 514:43:00 201710 // Created On : Wed May 24 14:43:00 2017 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Apr 25 16:58:00 201712 // Last Modified On : Thr May 25 16:36:00 2017 13 13 // Update Count : 1 14 14 // … … 41 41 42 42 forall(otype T) 43 maybe(T) ?=?(maybe(T) * this, maybe(T) other); 44 45 forall(otype T) 43 46 bool ?!=?(maybe(T) this, zero_t); 44 47 … … 55 58 T get(maybe(T) * this); 56 59 60 forall(otype T) 61 void set(maybe(T) * this, T value); 62 63 forall(otype T) 64 void set_none(maybe(T) * this); 65 57 66 #endif // MAYBE_H
Note: See TracChangeset
for help on using the changeset viewer.