1082. codecvt needs to be a concept-constrained template

Section: 25 [localization] Status: NAD Concepts Submitter: Howard Hinnant Opened: 2009-03-22 Last modified: 2016-02-10

Priority: Not Prioritized

View all other issues in [localization].

View all issues with NAD Concepts status.

Discussion:

Addresses JP 49 [CD1]

codecvt does not use concept. For example, create CodeConvert concept and change as follows.

template<CodeConvert Codecvt, class Elem = wchar_t>
  class wstring_convert {

[ Summit: ]

To be handled by Howard Hinnant, Dave Abrahams, Martin Sebor, PJ Plauger.

Proposed resolution: