| 25 | |
| 26 | template <typename T> |
| 27 | mystreambuf( |
| 28 | const T& item, |
| 29 | std::istream& str_ |
| 30 | ) : |
| 31 | read_pos(0), |
| 32 | str(str_) |
| 33 | { |
| 34 | // put the item into our buffer. |
| 35 | vectorstream vstr(buffer); |
| 36 | serialize(item, vstr); |
| 37 | } |
| 38 | |
| 39 | |
| 40 | // ------------------------ INPUT FUNCTIONS ------------------------ |
nothing calls this directly
no test coverage detected