Changeset be151bf for src/include/cassert
- Timestamp:
- Oct 19, 2017, 11:13:12 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- a117f7c
- Parents:
- 21ea170
- git-author:
- Rob Schluntz <rschlunt@…> (10/12/17 15:53:05)
- git-committer:
- Rob Schluntz <rschlunt@…> (10/19/17 11:13:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/include/cassert
r21ea170 rbe151bf 41 41 static inline T strict_dynamic_cast( const U & src ) { 42 42 T ret = dynamic_cast<T>(src); 43 assert (ret);43 assertf(ret, "%s", toString(src).c_str()); 44 44 return ret; 45 45 }
Note: See TracChangeset
for help on using the changeset viewer.