View | Details | Raw Unified | Return to bug 32001
Collapse All | Expand All

(-)/usr/include/boost/numeric/ublas/storage.hpp~ (-6 / +6 lines)
Lines 777-785 Link Here
777
        BOOST_UBLAS_INLINE
777
        BOOST_UBLAS_INLINE
778
        shallow_array_adaptor (size_type size, pointer data):
778
        shallow_array_adaptor (size_type size, pointer data):
779
            size_ (size), own_ (false), data_ (data, leaker<value_type> ()) {}
779
            size_ (size), own_ (false), data_ (data, leaker<value_type> ()) {}
780
        BOOST_UBLAS_INLINE
780
        
781
        template <size_t N>
781
        template <size_t N>
782
        shallow_array_adaptor (T (&data)[N]):
782
        BOOST_UBLAS_INLINE shallow_array_adaptor (T (&data)[N]):
783
            size_ (N), own_ (false), data_ (data, leaker<value_type> ()) {}
783
            size_ (N), own_ (false), data_ (data, leaker<value_type> ()) {}
784
784
785
        BOOST_UBLAS_INLINE
785
        BOOST_UBLAS_INLINE
Lines 833-846 Link Here
833
        void resize (size_type size, pointer data, value_type init) {
833
        void resize (size_type size, pointer data, value_type init) {
834
            resize_internal (size, data, init, true);
834
            resize_internal (size, data, init, true);
835
        }
835
        }
836
        BOOST_UBLAS_INLINE
836
        
837
        template <size_t N>
837
        template <size_t N>
838
        void resize (T (&data)[N]) {
838
        BOOST_UBLAS_INLINE void resize (T (&data)[N]) {
839
            resize_internal (N, data, value_type (), false);
839
            resize_internal (N, data, value_type (), false);
840
        }
840
        }
841
        BOOST_UBLAS_INLINE
841
        
842
        template <size_t N>
842
        template <size_t N>
843
        void resize (T (&data)[N], value_type init) {
843
        BOOST_UBLAS_INLINE void resize (T (&data)[N], value_type init) {
844
            resize_internal (N, data, init, true);
844
            resize_internal (N, data, init, true);
845
        }
845
        }
846
846

Return to bug 32001