03.12.2012 Views

C++ for Scientists - Technische Universität Dresden

C++ for Scientists - Technische Universität Dresden

C++ for Scientists - Technische Universität Dresden

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

94 CHAPTER 4. GENERIC PROGRAMMING<br />

Advise<br />

Unless you have strong reasons against it, use right-open intervals because:<br />

• It is easy to represent empty sets by two equal locations (pointers,<br />

iterators, . . . ).<br />

• It works on types without an ordering: if you specify the end by the<br />

locaation of the last element you need an operator

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!