Ticket #8334 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

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.


Change History

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

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

(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 a comment

Modify Ticket

Change Properties
<Author field>
as closed
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.