diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 17:13:49 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 17:13:49 -0700 |
commit | f1f8cadf10bfa234819cbe55234358fd1c886ce7 (patch) | |
tree | 16843fdd86dcdcfae4dde54ffa1ca7ca909f469a | |
parent | 6715cbfd2f3d462bb324b27c077240967023edc0 (diff) | |
download | mu-f1f8cadf10bfa234819cbe55234358fd1c886ce7.tar.gz |
1263
-rw-r--r-- | cpp/001help.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/001help.cc b/cpp/001help.cc index 8f2c65d4..475434e5 100644 --- a/cpp/001help.cc +++ b/cpp/001help.cc @@ -43,3 +43,6 @@ using std::cerr; using std::string; typedef size_t index_t; const index_t NOT_FOUND = string::npos; +:(after "int main(int argc, char* argv[])") +assert(sizeof(string::size_type) == sizeof(size_t)); +assert(sizeof(index_t) == sizeof(size_t)); |