Skip to content

Commit bba5cbf

Browse files
committed
[iterator.traits] An implementation that provides __far pointers doesn't need
the standard to tell it (non-normatively) how to implement them. Fixes #260.
1 parent f6d097a commit bba5cbf

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

source/iterators.tex

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -917,27 +917,6 @@
917917
}
918918
\end{codeblock}
919919

920-
\pnum
921-
\enternote
922-
If there is an additional pointer type
923-
\tcode{\,\xname{far}}
924-
such that the difference of two
925-
\tcode{\,\xname{far}}
926-
is of type
927-
\tcode{long},
928-
an implementation may define
929-
930-
\begin{codeblock}
931-
template<class T> struct iterator_traits<T @\xname{far}@*> {
932-
typedef long difference_type;
933-
typedef T value_type;
934-
typedef T @\xname{far}@* pointer;
935-
typedef T @\xname{far}@& reference;
936-
typedef random_access_iterator_tag iterator_category;
937-
};
938-
\end{codeblock}
939-
\exitnote
940-
941920
\pnum
942921
\enterexample
943922
To implement a generic

0 commit comments

Comments
 (0)