From f1f8cadf10bfa234819cbe55234358fd1c886ce7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 5 May 2015 17:13:49 -0700 Subject: 1263 --- cpp/001help.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/001help.cc') 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)); -- cgit 1.4.1-2-gfad0