diff options
author | Peng Wu <alexepico@gmail.com> | 2016-03-22 14:53:48 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-03-22 14:53:48 +0800 |
commit | 041ed16d24ad87b45db861681be9bce742e974f6 (patch) | |
tree | 7810dffe802b6cfe8c708b6f853d67cf6a4d4412 /src/storage/pinyin_phrase3.h | |
parent | 1610418c03ab615adafa8f9b999eeb6c0939ef61 (diff) | |
download | libpinyin-041ed16d24ad87b45db861681be9bce742e974f6.tar.gz libpinyin-041ed16d24ad87b45db861681be9bce742e974f6.tar.xz libpinyin-041ed16d24ad87b45db861681be9bce742e974f6.zip |
add comments
Diffstat (limited to 'src/storage/pinyin_phrase3.h')
-rw-r--r-- | src/storage/pinyin_phrase3.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/storage/pinyin_phrase3.h b/src/storage/pinyin_phrase3.h index 800d409..76e8a04 100644 --- a/src/storage/pinyin_phrase3.h +++ b/src/storage/pinyin_phrase3.h @@ -26,6 +26,9 @@ #include "chewing_key.h" #include <assert.h> +/* All compare function should be symmetric for the lhs and rhs operands. + URL: http://en.cppreference.com/w/cpp/algorithm/equal_range . */ + namespace pinyin{ inline int pinyin_exact_compare2(const ChewingKey * key_lhs, |