| title | CDefaultCharTraits Class | Microsoft Docs | ||||
|---|---|---|---|---|---|
| ms.custom | |||||
| ms.date | 11/04/2016 | ||||
| ms.reviewer | |||||
| ms.suite | |||||
| ms.technology |
|
||||
| ms.tgt_pltfrm | |||||
| ms.topic | reference | ||||
| f1_keywords |
|
||||
| dev_langs |
|
||||
| helpviewer_keywords |
|
||||
| ms.assetid | f94a3934-597f-401d-8513-ed6924ae069a | ||||
| caps.latest.revision | 19 | ||||
| author | mikeblome | ||||
| ms.author | mblome | ||||
| manager | ghogen |
This class provides two static functions for converting characters between uppercase and lowercase.
template <typename T>
class CDefaultCharTraits
T
The type of data to be stored in the collection.
| Name | Description |
|---|---|
| CDefaultCharTraits::CharToLower | (Static) Call this function to convert a character to uppercase. |
| CDefaultCharTraits::CharToUpper | (Static) Call this function to convert a character to lowercase. |
This class provides functions that are utilized by the class CStringElementTraitsI.
Header: atlcoll.h
Call this function to convert a character to lowercase.
static wchar_t CharToLower(wchar_t x);
static char CharToLower(char x);
x
The character to convert to lowercase.
[!code-cppNVC_ATL_Utilities#132]
Call this function to convert a character to uppercase.
static wchar_t CharToUpper(wchar_t x);
static char CharToUpper(char x);
x
The character to convert to uppercase.