Opened 12 years ago

#4599 new Feature Requests

template argument identifiers

Reported by: jan.boehme@… Owned by: Gunter
Milestone: To Be Determined Component: uBLAS
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

Hi,

it would be helpful if template argument identifiers like MATRIX in /boost/numeric/ublas/traits.hpp

template < class MATRIX > struct mutable_matrix_traits

: mutable_container_traits <MATRIX> {

typedef typename MATRIX::iterator1 iterator1; typedef typename MATRIX::iterator2 iterator2;

};

would follow well-established c/c++ variable name conventions instead of that of the c preprocessor because of conflicts with exactly that. I'd suggest something like the following instead and would provide patches if favored.

template < class matrix_type > struct mutable_matrix_traits

: mutable_container_traits <matrix_type> {

typedef typename matrix_type::iterator1 iterator1; typedef typename matrix_type::iterator2 iterator2;

};

Thanks, Jan.

Change History (0)

Note: See TracTickets for help on using tickets.