Boost logo

Boost :

From: Hamish Mackenzie (boost_at_[hidden])
Date: 2001-03-30 13:45:28


On Friday 30 March 2001 06:20, you wrote:
> I've just uploaded the MTL expression template prototype code into
> Files/numeric/mtl3.tar.gz.

The constructors for vector_impl and matrix_impl are ambiguous. I had to
make the following changes to compile on gcc version 2.97 20010115
(experimental)

in matrix.hpp
     // args are (size_type m, size_type n, const T& value)
      template <class H1, class H2, class H3>
      matrix_impl(const pair<H1,pair<H2,pair<H3,nil> > >& args)

in vector.hpp
      // args are (size_type n, const T& init)
      template <class H1, class H2>
      vector_impl(const pair< H1, pair< H2, nil > >& args)

Hamish


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