Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::ops::strlen_t Struct Reference

字符串长度变换器。 More...

#include <gextra.h>

Public Member Functions

size_t operator() (const std::string &s) const
 获取字符串的长度。

Detailed Description

字符串长度变换器。

Member Function Documentation

◆ operator()()

size_t console::ops::strlen_t::operator() ( const std::string & s) const
inline

获取字符串的长度。

Parameters
s输入字符串。
Returns
s.size()。

The documentation for this struct was generated from the following file: