Revert Jeremy Siek's patches for now

[SVN r30299]
This commit is contained in:
Douglas Gregor
2005-07-28 18:22:23 +00:00
parent 3cd0be21a7
commit 6f59ef904b
2 changed files with 19 additions and 14 deletions
+3 -4
View File
@@ -408,7 +408,7 @@ namespace boost {
//===========================================================================
// Iterator Archetype Classes
template <class T, int I = 0, class RefBase = null_archetype<> >
template <class T, int I = 0>
class input_iterator_archetype
{
private:
@@ -416,8 +416,7 @@ namespace boost {
public:
typedef std::input_iterator_tag iterator_category;
typedef T value_type;
struct reference : public RefBase {
reference(detail::dummy_constructor d) : RefBase(d) { }
struct reference {
operator const value_type&() const { return static_object<T>::get(); }
};
typedef const T* pointer;
@@ -425,7 +424,7 @@ namespace boost {
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
const reference& operator*() const { return static_object<reference>::get(); }
reference operator*() const { return reference(); }
self& operator++() { return *this; }
self operator++(int) { return *this; }
};