Opened 7 years ago

Closed 7 years ago

#11870 closed Bugs (fixed)

arithmetic_type misses wchar_t handling as typedef to short

Reported by: ingo.loehken@… Owned by: John Maddock
Milestone: To Be Determined Component: type_traits
Version: Boost 1.61.0 Severity: Problem
Keywords: wchar_t, arithmetic_type, common_type, arithmetic promotion Cc:

Description

The specialization for wchar_t should be disabled in arithmetic_type, if wchar_t is a typedef rather than a type.

Attachments (1)

arithmetic_type_wchar_t_handling.patch (2.3 KB ) - added by ingo.loehken@… 7 years ago.
patch

Download all attachments as: .zip

Change History (2)

by ingo.loehken@…, 7 years ago

patch

comment:1 by John Maddock, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.