diff options
author | Neil Moore <neil@s-z.org> | 2014-08-14 16:37:32 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-08-14 16:37:32 -0400 |
commit | d4e17c5239293e1af06222f3a0ea519226967b13 (patch) | |
tree | 59b4205886ed30ed9e8d41daed118348728aeca4 | |
parent | 319ca6a20c040f66867e42ea5fc28efefddeed22 (diff) | |
download | crawl-ref-d4e17c5239293e1af06222f3a0ea519226967b13.tar.gz crawl-ref-d4e17c5239293e1af06222f3a0ea519226967b13.zip |
Improve a comment.
-rw-r--r-- | crawl-ref/source/unwind.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/unwind.h b/crawl-ref/source/unwind.h index c13dda320b..1ffd5afa1b 100644 --- a/crawl-ref/source/unwind.h +++ b/crawl-ref/source/unwind.h @@ -1,10 +1,10 @@ #ifndef UNWIND_H #define UNWIND_H -/** Type that gives an lvalue dynamically-scoped temporary value. An - * unwind_var remembers the old value of a variable or other writable lvalue, - * and restores the original (or a specified) value when the unwind_var goes - * out of scope or is otherwise destroyed. +/** Type that gives an lvalue a dynamically-scoped temporary value. An + * unwind_var wraps a variable or other writable lvalue, assigns it a + * temporary value, and restores the original (or a specified) value when + * the unwind_var goes out of scope or is otherwise destroyed. */ template <typename T> class unwind_var |