Opened 9 years ago

Last modified 5 years ago

#9586 new Bugs

Boost Date/Time should use BOOST_TRY/CATCH instead of try

Reported by: catalinalexandru.zamfir@… Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost 1.54.0 Severity: Optimization
Keywords: date_time, facet, io, exceptions Cc:

Description

Hello,

We had to activate the USE_DATE_TIME_PRE_1_33_FACET_IO and modify a few files in try/catches to BOOST_TRY/CATCH in date_time/gregorian/greg_facet.hpp to get our Date/Time dependency compiling in non-exception code. Here's the attached patch.

However, Date/Time depends too heavily on try/catch behavior in detriment to projects wanting to use it but without exceptions. Can this be fixed for a next iteration of Boost?

Attachments (1)

greg_facet.hpp.patch (2.7 KB ) - added by Zamfir Catalin Alexandru <catalinalexandru.zamfir@…> 9 years ago.
Patch to use boost try/catch workaround

Download all attachments as: .zip

Change History (2)

by Zamfir Catalin Alexandru <catalinalexandru.zamfir@…>, 9 years ago

Attachment: greg_facet.hpp.patch added

Patch to use boost try/catch workaround

comment:1 by James E. King, III, 5 years ago

Milestone: Boost 1.56.0To Be Determined
Severity: ShowstopperOptimization
Note: See TracTickets for help on using tickets.