-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add `#pragma once`. - Add a non-member ADL swap() for rings. - Fix up the namespace of operator+= and operator-= for ring iterators. - Fix up (it + n) and (it - n) for ring iterators. - Add (it - it) for ring iterators. - Fix a typo in (a >= b) for ring iterators, and make (a <= b) == !(b > a). - Add the implicit conversion from iterator to const_iterator. - `#if 0` the broken tests for unimplemented static_ring and dynamic_ring. Fixes #75, #77, #90, #93, #101.
- Loading branch information
1 parent
9e9be1f
commit 5013c6c
Showing
5 changed files
with
124 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters