Title
Missing overloads for character types for user-defined literals
Status
cd2
Section
12.6 [over.literal]
Submitter
Alisdair Meredith

Created on 2009-07-09.00:00:00 last changed 179 months ago

Messages

Date: 2010-03-15.00:00:00

[Voted into WP at March, 2010 meeting.]

Date: 2009-11-15.00:00:00

Proposed resolution (November, 2009):

Change 12.6 [over.literal] paragraph 3 as follows:

The declaration of a literal operator shall have a parameter-declaration-clause equivalent to one of the following:

  const char*
  unsigned long long int
  long double
  char
  wchar_t
  char16_t
  char32_t
  const char*, std::size_t
  const wchar_t*, std::size_t
  const char16_t*, std::size_t
  const char32_t*, std::size_t
Date: 2009-07-09.00:00:00

The list of overloads for user-defined literal operators given in 12.6 [over.literal] paragraph 3 should include signatures for char, wchar_t, char16_t, and char32_t.

History
Date User Action Args
2010-03-29 00:00:00adminsetmessages: + msg2728
2010-03-29 00:00:00adminsetstatus: tentatively ready -> cd2
2010-02-16 00:00:00adminsetmessages: + msg2508
2010-02-16 00:00:00adminsetstatus: drafting -> tentatively ready
2009-07-09 00:00:00admincreate