Mercurial > hg > openttd
changeset 11100:9735390c5083 draft
(svn r15446) -Revert(r15445): Seems that "iff" stands for "if and only if". So not much of a typo.
Thanks, Yexo. I feel less ignorant today :D
author | belugas <belugas@openttd.org> |
---|---|
date | Wed, 11 Feb 2009 02:53:15 +0000 |
parents | 71499222687f |
children | 6c679f380a53 |
files | src/core/smallmap_type.hpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/smallmap_type.hpp +++ b/src/core/smallmap_type.hpp @@ -45,7 +45,7 @@ /** Removes given pair from this map * @param pair pair to remove - * @return true if the key was found + * @return true iff the key was found * @note it has to be pointer to pair in this map. It is overwritten by the last item. */ FORCEINLINE void Erase(Pair *pair) @@ -56,7 +56,7 @@ /** Removes given key from this map * @param key key to remove - * @return true if the key was found + * @return true iff the key was found * @note last item is moved to its place, so don't increase your iterator if true is returned! */ FORCEINLINE bool Erase(const T &key) @@ -73,7 +73,7 @@ /** Adds new item to this map. * @param key key * @param data data - * @return true if the key wasn't already present + * @return true iff the key wasn't already present */ FORCEINLINE bool Insert(const T &key, const U &data) {