Opened 11 years ago

Closed 10 years ago

#6786 closed Feature Requests (fixed)

Deduce stream character type for user-defined classes

Reported by: Antony Polukhin Owned by: Antony Polukhin
Milestone: Boost 1.53.0 Component: lexical_cast
Version: Severity: Problem
Keywords: unicode wide character char Cc:

Description

Deduce correct stream character type for user defined Unicode classes.
Enchant boost::detail::stream_char<> meta-function, using Boost.TypeTraits (has_left_shift<> and has_right_shift<>)

Discussion of the subject

Change History (6)

comment:1 by Antony Polukhin, 11 years ago

(In [78015]) Comment out bad advise in documentation ( refs #6786, refs #6663)

comment:2 by Antony Polukhin, 11 years ago

(In [78044]) Update documentation ( more info about stream character type detection + warn about new unicode types support; refs #6786, refs #6663)

comment:3 by Antony Polukhin, 11 years ago

(In [78059]) Merge lexical_cast library from trunk:

  • multiple optimizations and bugfixes for boost::iterator_range (refs #6786, refs #6430, refs #6663)
  • documentation update
  • new Unicode characters support updated
  • much more tests, removed incorrect tests

comment:4 by Antony Polukhin, 10 years ago

(In [81278]) Stream type detection metafunctions were rewritten so that now they can detect stream type for user defined types (refs #6786) Removed unrequired ::

comment:5 by Antony Polukhin, 10 years ago

(In [81353]) Documentation update for lexical_cast (refs #6786)

comment:6 by Antony Polukhin, 10 years ago

Milestone: To Be DeterminedBoost 1.53.0
Resolution: fixed
Status: newclosed

(In [81668]) Merge lexical_cast from trunk:

  • Deduce stream character type for user defined classes (fixes #6786)
  • Deprecated macros replaced with new ones (thanks to Marshall Clow)
  • Updated documentation (refs #6786, fixes #7582)
  • More tests and minor bugfixes
Note: See TracTickets for help on using tickets.