From 7b111f2cbfca85f86d3a641bf7ea59ba6877df50 Mon Sep 17 00:00:00 2001 From: Gunter Winkler Date: Sat, 17 Mar 2007 11:46:07 +0000 Subject: [PATCH] - fixed mistake in storage.hpp: s/not /! /g [SVN r37212] --- include/boost/numeric/ublas/storage.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/numeric/ublas/storage.hpp b/include/boost/numeric/ublas/storage.hpp index 02ebf95d..340af68e 100644 --- a/include/boost/numeric/ublas/storage.hpp +++ b/include/boost/numeric/ublas/storage.hpp @@ -66,7 +66,7 @@ namespace boost { namespace numeric { namespace ublas { alloc_(a), size_ (size) { if (size_) { data_ = alloc_.allocate (size_); - if (not detail::has_trivial_constructor::value) { + if (! detail::has_trivial_constructor::value) { for (pointer d = data_; d != data_ + size_; ++d) alloc_.construct(d, value_type()); } @@ -98,7 +98,7 @@ namespace boost { namespace numeric { namespace ublas { BOOST_UBLAS_INLINE ~unbounded_array () { if (size_) { - if (not detail::has_trivial_destructor::value) { + if (! detail::has_trivial_destructor::value) { // std::_Destroy (begin(), end(), alloc_); const iterator i_end = end(); for (iterator i = begin (); i != i_end; ++i) { @@ -137,7 +137,7 @@ namespace boost { namespace numeric { namespace ublas { } } else { - if (not detail::has_trivial_constructor::value) { + if (! detail::has_trivial_constructor::value) { for (pointer di = data_; di != data_ + size; ++di) alloc_.construct (di, value_type()); } @@ -145,7 +145,7 @@ namespace boost { namespace numeric { namespace ublas { } if (size_) { - if (not detail::has_trivial_destructor::value) { + if (! detail::has_trivial_destructor::value) { for (pointer si = p_data; si != p_data + size_; ++si) alloc_.destroy (si); }