Changeset 993:21d1b4fa1b24 in lemon-0.x for src
- Timestamp:
- 11/15/04 14:10:35 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1383
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/error.h
r921 r993 53 53 } 54 54 55 Exception& operator<<(std::string const& s) { buf << s; return *this; } 56 Exception& operator<<(char const *s) { buf << s; return *this; } 57 Exception& operator<<(int i) { buf << i; return *this; } 55 template <typename T> 56 Exception& operator<<(T const& t) { buf << t; return *this; } 58 57 }; 59 58 … … 76 75 # define FIXME(msg) \ 77 76 do { throw ::lemon::Exception() << "FIXME: " msg " (in: " \ 78 __FILE__ ", " << __LINE__ << ")"; \77 __FILE__ ", " << __LINE__ << ")"; \ 79 78 } while(false) 80 79
Note: See TracChangeset
for help on using the changeset viewer.