simstr 1.5.0
Yet another strings library
 
Loading...
Searching...
No Matches
simstr::expr_replaced< K > Struct Template Reference

A string expression that generates a string replacing all occurrences of the given substring to another string. More...

#include <strexpr.h>

Inheritance diagram for simstr::expr_replaced< K >:
simstr::expr_to_std_string< expr_replaced< K > >

Public Member Functions

constexpr expr_replaced (str_src< K > w, str_src< K > p, str_src< K > r)
 Constructor.
 

Detailed Description

template<typename K>
struct simstr::expr_replaced< K >

A string expression that generates a string replacing all occurrences of the given substring to another string.

Template Parameters
K- string type.

Constructor & Destructor Documentation

◆ expr_replaced()

template<typename K>
simstr::expr_replaced< K >::expr_replaced ( str_src< K > w,
str_src< K > p,
str_src< K > r )
inlineconstexpr

Constructor.

Parameters
w- source string.
p- the searched substring.
r- replacement string.

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