Boost C++ 库

...世界上最受尊敬和设计最精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, 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());

描述

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

参数

输入

一个输入范围

Loc

用于转换的区域设置


PrevUpHomeNext