Boost C++ Libraries: Ticket #4599: template argument identifiers https://svn.boost.org/trac10/ticket/4599 <p> Hi, </p> <p> it would be helpful if template argument identifiers like <strong>MATRIX</strong> in /boost/numeric/ublas/traits.hpp </p> <p> template &lt; class <strong>MATRIX</strong> &gt; struct mutable_matrix_traits </p> <blockquote> <p> : mutable_container_traits &lt;<strong>MATRIX</strong>&gt; { </p> </blockquote> <blockquote> <p> typedef typename <strong>MATRIX</strong>::iterator1 iterator1; typedef typename <strong>MATRIX</strong>::iterator2 iterator2; </p> </blockquote> <p> }; </p> <p> 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. </p> <p> template &lt; class <strong>matrix_type</strong> &gt; struct mutable_matrix_traits </p> <blockquote> <p> : mutable_container_traits &lt;<strong>matrix_type</strong>&gt; { </p> </blockquote> <blockquote> <p> typedef typename <strong>matrix_type</strong>::iterator1 iterator1; typedef typename <strong>matrix_type</strong>::iterator2 iterator2; </p> </blockquote> <p> }; </p> <p> Thanks, Jan. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4599 Trac 1.4.3