libpniio
Data Structures | Public Member Functions

lazy string trimming More...

#include <string_sequence_rule.hpp>

Data Structures

struct  result
 return type of the lazy function More...
 

Public Member Functions

template<typename Arg >
pni::core::string operator() (Arg const &n) const
 trim implementation More...
 

Detailed Description

This lazy function is used to remove leading and trailing blanks from strings.

Member Function Documentation

template<typename Arg >
pni::core::string pni::io::trim_string::operator() ( Arg const &  n) const
inline

Implements string trimming (stripping of all leading and trailing blanks) as a lazy function.

Template Parameters
Arginput argument type
Parameters
ninput argument
Returns
string with all leading and trailing blanks removed

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