Modify

Opened 5 years ago

Closed 5 years ago

#8334 closed Bugs (fixed)

Change runtime assert to compile time

Reported by: Antony Polukhin Owned by: Antony Polukhin
Milestone: Boost 1.54.0 Component: lexical_cast
Version: Boost Development Trunk Severity: Problem
Keywords: static_assert pointer Cc:

Description

lexical_cast shall assert at compile time, that no conversion to pointer is performed.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Antony Polukhin

(In [83601]) Update code that uses string buffers (refs #8267). Treat cast to pointer as compile time error (refs #8334). Update documentation

comment:2 Changed 5 years ago by Antony Polukhin

Resolution: fixed
Status: newclosed

(In [83689]) Merge from trunk:

  • Fix stream related issues with libc++ and clang (fixes #7704, fixes #8267)
  • Change runtime assert to compile time when converting to pointer (fixes #8334)

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.