yo/classtemplates/examples/stringptrs/stringptr1.h
raw| 1 | #ifndef INCLUDED_STRINGPTR_H_ |
| 2 | #define INCLUDED_STRINGPTR_H_ |
| 3 | |
| 4 | #include <string> |
| 5 | #include <vector> |
| 6 | |
| 7 | class StringPtr: public std::vector<std::string *> |
| 8 | { |
| 9 | public: |
| 10 | StringPtr(StringPtr const &other); |
| 11 | ~StringPtr(); |
| 12 | |
| 13 | StringPtr &operator=(StringPtr const &other); |
| 14 | }; |
| 15 | |
| 16 | #endif |