|
Boost Users : |
From: Eric Niebler (eric_at_[hidden])
Date: 2007-07-23 15:37:57
Eric Niebler wrote:
> class vec
> {
> public:
> vec(sv& v = global) : v_(v) {}
> typedef sv::iterator iterator;
> typedef sv::iterator const_iterator;
> typedef sv::const_iterator const_iterator;
whoops, delete this line ---^^^
> iterator begin() const { return v_.begin(); }
> iterator end() const { return v_.end(); }
> void push_back(const string& s) const { v_.push_back(s); }
> private:
> sv& v_;
> };
-- Eric Niebler Boost Consulting www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net