Opened 4 years ago

Closed 4 years ago

#8334 closed Bugs (fixed)

Change runtime assert to compile time

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


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

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by apolukhin

(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 4 years ago by apolukhin

  • Resolution set to fixed
  • Status changed from new to closed

(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)

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain apolukhin.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.