Boost logo

Boost :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2005-10-06 14:14:27


#include <boost/numeric/ublas/vector.hpp>
#include <iostream>
#include <iterator>

int main() {
  boost::numeric::ublas::zero_vector<double> v (10);

  std::copy (v.begin(), v.end(), std::ostream_iterator<double> (std::cout, "
"));
}

This prints _nothing_. Is this the expected behavior? I expected 10 '0's.


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