Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-06-02 02:15:19


Hi,

Could you see a portion:

        template
        <
            class VoidIter,
            class T
>
        class void_ptr_iterator
        {
        public:
            typedef T value_type; // !!??
            typedef T& reference;
            typedef T* pointer;

'iterator_value<boost::ptr_vector<int>::const_iterator>::type' returns 'int const'.
Is value_type allowed to be cv-qualified?

-- 
Shunsuke Sogame

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk