Modify

Opened 6 years ago

Closed 6 years ago

#6298 closed Bugs (fixed)

Throws bad_lexical_cast when used with empty vector

Reported by: Braden McDaniel <braden@…> Owned by: Antony Polukhin
Milestone: To Be Determined Component: lexical_cast
Version: Boost 1.48.0 Severity: Regression
Keywords: Cc:

Description

lexical_cast throws bad_lexical_cast when used with an empty std::vector. See attached test case.

Attachments (1)

lexical_cast_test.cpp (636 bytes) - added by Braden McDaniel <braden@…> 6 years ago.
Test case

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by Braden McDaniel <braden@…>

Attachment: lexical_cast_test.cpp added

Test case

comment:1 Changed 6 years ago by Braden McDaniel <braden@…>

Possibly the same as #6264.

comment:2 Changed 6 years ago by Braden McDaniel <braden@…>

Owner: changed from nasonov to Antony Polukhin

This was broken by the fix to #6083 (r75411).

comment:3 Changed 6 years ago by Antony Polukhin

Status: newassigned

comment:4 Changed 6 years ago by Antony Polukhin

Resolution: fixed
Status: assignedclosed

(In [76096]) Fixes #6298 Fixes #6264

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Antony Polukhin.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.