aboutsummaryrefslogtreecommitdiff
path: root/build/target
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-28 16:14:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-28 16:14:30 +0200
commitfc1e4124a533b7f628dc00d343b9061367634b27 (patch)
treef2bdf45f35a6c92b6094517dcdb7749259c0bd0a /build/target
parent56ce5687567150b0b2cc3e57540d564793ef6bf7 (diff)
Second iteration over import/export support
Diffstat (limited to 'build/target')
-rw-r--r--build/target6
1 files changed, 3 insertions, 3 deletions
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);}