From fc1e4124a533b7f628dc00d343b9061367634b27 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Apr 2015 16:14:30 +0200 Subject: Second iteration over import/export support --- build/target | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build/target') diff --git a/build/target b/build/target index 0aa0227..7776a77 100644 --- a/build/target +++ b/build/target @@ -335,15 +335,15 @@ namespace build iterator operator-- (int) {iterator r (*this); return --r;} + reference operator* () const {return *i_;} + pointer operator-> () const {return i_.operator -> ();} + friend bool operator== (const iterator& x, const iterator& y) { return x.t_ == y.t_ && x.c_ == y.c_ && x.i_ == y.i_; } - reference operator* () const {return *i_;} - pointer operator-> () const {return i_.operator -> ();} - friend bool operator!= (const iterator& x, const iterator& y) {return !(x == y);} -- cgit v1.1