Changeset 8abee136 for src/include
- Timestamp:
- May 22, 2019, 5:01:53 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ef5ef56
- Parents:
- f4c2f1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/include/cassert
rf4c2f1a r8abee136 44 44 45 45 template<typename T, typename U> 46 static inline T strict_dynamic_cast( const U & src ) { 46 static inline __attribute__((nonnull)) T strict_dynamic_cast( const U & src ) { 47 assert(src); 47 48 T ret = dynamic_cast<T>(src); 48 49 assertf(ret, "%s", toString(src).c_str());
Note: See TracChangeset
for help on using the changeset viewer.