Opened 10 years ago

Closed 10 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.

Change History (2)

comment:1 by Antony Polukhin, 10 years ago

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

comment:2 by Antony Polukhin, 10 years ago

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)
Note: See TracTickets for help on using tickets.