Changeset 58daf53 for src/libcfa/containers/result
- Timestamp:
- May 25, 2017, 3:29:25 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:
- f851015
- Parents:
- a4943d8c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/libcfa/containers/result ¶
ra4943d8c r58daf53 8 8 // 9 9 // Author : Andrew Beach 10 // Created On : Wed May 2 514:45:00 201710 // Created On : Wed May 24 14:45:00 2017 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed May 25 16:57:00 201712 // Last Modified On : Thr May 25 16:39:00 2017 13 13 // Update Count : 1 14 14 // … … 50 50 51 51 forall(otype T, otype E) 52 result(T, E) ?=?(result(T, E) * this, result(T, E) other); 53 54 forall(otype T, otype E) 52 55 bool ?!=?(result(T, E) this, zero_t); 53 56 … … 67 70 E get_error(result(T, E) * this); 68 71 72 forall(otype T, otype E) 73 void set(result(T, E) * this, T value); 74 75 forall(otype T, otype E) 76 void set_error(result(T, E) * this, E error); 77 69 78 #endif // RESULT_H
Note: See TracChangeset
for help on using the changeset viewer.