Opened 11 years ago

Closed 11 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@…> 11 years ago.
Test case

Download all attachments as: .zip

Change History (5)

by Braden McDaniel <braden@…>, 11 years ago

Attachment: lexical_cast_test.cpp added

Test case

comment:1 by Braden McDaniel <braden@…>, 11 years ago

Possibly the same as #6264.

comment:2 by Braden McDaniel <braden@…>, 11 years ago

Owner: changed from nasonov to Antony Polukhin

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

comment:3 by Antony Polukhin, 11 years ago

Status: newassigned

comment:4 by Antony Polukhin, 11 years ago

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.