Changeset 1852:ffa7c6e96330 in lemon-0.x for lemon/lemon_writer.h
- Timestamp:
- 12/07/05 12:57:30 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2420
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lemon_writer.h
r1845 r1852 173 173 virtual ~MapWriterBase() {} 174 174 175 virtual void write(std::ostream& os, const Item& item) = 0;175 virtual void write(std::ostream& os, const Item& item) const = 0; 176 176 }; 177 177 … … 193 193 virtual ~MapWriter() {} 194 194 195 virtual void write(std::ostream& os, const Item& item) {195 virtual void write(std::ostream& os, const Item& item) const { 196 196 Value value = map[item]; 197 197 writer.write(os, value);
Note: See TracChangeset
for help on using the changeset viewer.