about summary refs log tree commit diff
path: root/src/rt/rust_stack.cpp
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-08-06 20:17:06 +0200
committerCorey Richardson <corey@octayn.net>2013-08-07 22:41:14 -0400
commit52b01c50cbf001e383fb20bde313f6e58ee6f601 (patch)
treec58f398a64c580bcf76a23c23161ae6514faa3f0 /src/rt/rust_stack.cpp
parent4ab05f91f49b1248aab7d21630cfb38d6dafacfa (diff)
downloadrust-52b01c50cbf001e383fb20bde313f6e58ee6f601.tar.gz
rust-52b01c50cbf001e383fb20bde313f6e58ee6f601.zip
extra: External iterators for TreeSet set operations
Write external iterators for Difference, Sym. Difference, Intersection
and Union set operations.

These iterators are generic insofar that they could work on any ordered
sequence iterators, even though they are type specialized to the
TreeSetIterator in this case.

Looking at the `check` function in the treeset tests, rustc seems
unwilling to compile a function resembling::

    fn check<'a, T: Iterator<&'a int>>(... )

so the tests for these iterators are still running the legacy loop
protocol.
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions