Opened 11 years ago
Closed 9 years ago
#6036 closed Bugs (fixed)
incorrect rethrow in member function void mapped_file_impl::map_file(param_type& p)
| Reported by: | Owned by: | Daniel James | |
|---|---|---|---|
| Milestone: | Boost 1.55.0 | Component: | iostreams | 
| Version: | Boost 1.47.0 | Severity: | Problem | 
| Keywords: | Cc: | 
Description
The rethrow with boost::throw_exception(e) involves 'object slicing' by making a copy of the base-class object. The original exception-information will be lost. To re-throw the current exception you have to throw without any argument.
Change History (7)
follow-ups: 2 3 comment:1 by , 10 years ago
comment:2 by , 10 years ago
comment:6 by , 9 years ago
| Milestone: | To Be Determined → Boost 1.55.0 | 
|---|---|
| Owner: | changed from to | 
| Status: | new → assigned | 
comment:7 by , 9 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

Bug is still present in 1.49.0.