forked from boostorg/concept_check
Revert Jeremy Siek's patches for now
[SVN r30299]
This commit is contained in:
@@ -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; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user