Boost logo

Boost Users :

Subject: [Boost-users] iterator_facade Boost 1.57
From: gast128 (gast128_at_[hidden])
Date: 2014-11-04 09:07:09


Dear all,

Just trying out 1.57, since we are already 5 releases behind due to all
kinds of compilation errors with Boost and our software. Below simplified
code doesn't compile on vs2010:

template <typename DerivedType>
struct IteratorFacade : public boost::iterator_facade<DerivedType, int,
std::random_access_iterator_tag>
{
    typedef boost::iterator_facade<DerivedType, int,
std::random_access_iterator_tag> base;

                        IteratorFacade ();
    virtual ~IteratorFacade ();

    friend class boost::iterator_core_access;

    reference dereference () const;
};

struct MyIteratorFacade : IteratorFacade<MyIteratorFacade>
{
};

What do I wrong?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net