Ticket #4440: size_0_vector_msvc.patch
File size_0_vector_msvc.patch, 503 bytes (added by , 12 years ago) |
---|
-
storage.hpp
464 464 465 465 private: 466 466 size_type size_; 467 // MSVC does not like arrays of size 0 in base classes. Hence, this conditionally changes the size to 1 468 #ifdef _MSC_VER 469 BOOST_UBLAS_BOUNDED_ARRAY_ALIGN value_type data_ [(N>0)?N:1]; 470 #else 467 471 BOOST_UBLAS_BOUNDED_ARRAY_ALIGN value_type data_ [N]; 472 #endif 468 473 }; 469 474 470 475