Opened 18 years ago

Closed 17 years ago

#336 closed Bugs (None)

bug in ublas/storage.hpp

Reported by: nobody Owned by: mistevens
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

Hi all,

I have found a bug in boost-1.32.0-1.fc3:

/usr/include/boost/numeric/ublas/storage.hpp:707:
error: declaration of `class T'
/usr/include/boost/numeric/ublas/storage.hpp:703:
error:  shadows template parm `class T'


    template<class T>
    class shallow_array_adaptor:
        public storage_array<shallow_array_adaptor<T> > {

        template<class T>
        struct leaker {
            typedef void result_type;
            typedef T *argument_type;

            BOOST_UBLAS_INLINE
            result_type operator () (argument_type x) {}
        };

Pls, replace name of the template parameter T in struct
leaker.

Thanks.

witali.kusnezow@neuroinformatik.rub.de

Change History (3)

comment:1 by tknapen, 18 years ago

Logged In: YES 
user_id=144552

Solved. Thanks

comment:2 by mistevens, 17 years ago

Logged In: YES 
user_id=556024

FIX template name to TT. 
 _array_adapator put back in storage.hpp pending rework of 
carray_adaptor. Needs testing 

comment:3 by mistevens, 17 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.