Changeset c753a61 in git for factory/templates/ftmpl_matrix.cc
- Timestamp:
- Mar 27, 1997, 11:33:48 AM (27 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 175e355a0ee87150e6cb2aa2d24516c8ccc10122
- Parents:
- 09a758aad44f63da7fe1dac3d01e5247cfaa1cdd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/templates/ftmpl_matrix.cc
r09a758a rc753a61 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: ftmpl_matrix.cc,v 1. 1 1996-12-18 15:04:23schmidt Exp $2 // $Id: ftmpl_matrix.cc,v 1.2 1997-03-27 10:33:48 schmidt Exp $ 3 3 4 4 /* 5 5 * $Log: not supported by cvs2svn $ 6 * Revision 1.1 1996/12/18 15:04:23 schmidt 7 * Initial revision 8 * 6 9 */ 7 10 8 #include <stdio.h> 9 #include <stdlib.h> 10 #include "matrix.h" 11 12 #undef ASSERT 13 #undef __ASSERT 14 #undef STICKYASSERT 15 16 #ifdef NDEBUG 17 #define ASSERT(ignore1,ignore2)((void)0) 18 #else 19 #define ASSERT(expression,message) \ 20 ((void)((expression) ? 0 : __ASSERT(#expression, message, __FILE__, __LINE__))) 21 #define __ASSERT(expression, message, file, line) \ 22 (fprintf( stderr, "error: %s\n%s:%u: failed assertion `%s'\n", \ 23 message, file, line, expression ), abort(), 0 ) 24 #endif 25 11 #include <templates/assert.h> 12 13 #include <templates/matrix.h> 26 14 27 15 template <class T> … … 156 144 } 157 145 146 #ifndef NOSTREAMIO 158 147 template <class T> 159 148 void Matrix<T>::printrow ( ostream & s, int i ) const … … 186 175 } 187 176 } 177 #endif /* NOSTREAMIO */ 188 178 189 179 template <class T>
Note: See TracChangeset
for help on using the changeset viewer.