Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

函数模板 to_upper - Boost C++ 函数库
PrevUpHomeNext

函数模板 to_upper

boost::algorithm::to_upper — 转换为大写。

提要

// In header: <boost/algorithm/string/case_conv.hpp>


template<typename WritableRangeT> 
  void to_upper(WritableRangeT & Input, 
                const std::locale & Loc = std::locale());

描述

输入序列的每个元素都会转换为大写。输入序列会就地修改。

参数

输入

一个输入范围

位置

用于转换的区域设置


PrevUpHomeNext