Ticket #4443: bounded_vector_constructors.patch
File bounded_vector_constructors.patch, 654 bytes (added by , 12 years ago) |
---|
-
vector.hpp
814 814 bounded_vector (): 815 815 vector_type (N) {} 816 816 BOOST_UBLAS_INLINE 817 bounded_vector (size_type size):817 explicit bounded_vector (size_type size): 818 818 vector_type (size) {} 819 bounded_vector (size_type size, const value_type &value): 820 vector_type (size) 821 {std::fill(begin(), end(), value);} //Fills with the value 819 822 BOOST_UBLAS_INLINE 820 823 bounded_vector (const bounded_vector &v): 821 824 vector_type (v) {}