Opened 14 years ago

Closed 14 years ago

#2422 closed Bugs (fixed)

mapped_vector throws on resize with map_array

Reported by: bimargulies@… Owned by: Gunter
Milestone: Boost 1.37.0 Component: uBLAS
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

Using Apple xcode gcc 4.2 (which uses STL 4.0) ...

The attached program throws on the call to resize.

Attachments (1)

resizeboom.cpp (487 bytes ) - added by bimargulies@… 14 years ago.

Download all attachments as: .zip

Change History (4)

by bimargulies@…, 14 years ago

Attachment: resizeboom.cpp added

comment:1 by bimargulies@…, 14 years ago

This is with ublas, of course.

comment:2 by Marshall Clow, 14 years ago

Component: NoneuBLAS
Owner: set to Gunter

comment:3 by Gunter, 14 years ago

Resolution: fixed
Status: newclosed

(In [49576]) - fix and close #2422

  • the exception was caused when trying to erase an empty range
  • now erase(it1, it2) does nothing if it1 == it2
Note: See TracTickets for help on using tickets.