projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
promise: add Promise::get_index function
[c11tester.git]
/
promise.h
diff --git
a/promise.h
b/promise.h
index 90ec1d2050bc650b714eebe8f64f5aabde0de7e0..e8c233c61d8240d4820fc39ad7d735d0ffeff355 100644
(file)
--- a/
promise.h
+++ b/
promise.h
@@
-43,6
+43,8
@@
class Promise {
uint64_t get_value() const { return fv.value; }
struct future_value get_fv() const { return fv; }
+ int get_index() const;
+
void print() const;
bool equals(const Promise *x) const { return this == x; }