simstr 1.2.4
Yet another strings library
 
Loading...
Searching...
No Matches
simstr::strexprjoin_c< A, B, last > Struct Template Reference

Concatenation of a reference to a string expression and the value of the string expression. More...

#include <strexpr.h>

Detailed Description

template<StrExpr A, StrExprForType< typename A::symb_type > B, bool last = true>
struct simstr::strexprjoin_c< A, B, last >

Concatenation of a reference to a string expression and the value of the string expression.

Template Parameters
A- Type of a single string expression.
B- Type of another string expression.
last- which one is the first.

To be able to add a string expression with non-string operands, we need to be able to return an object from operator+ that will retain a reference to the operand, which is a string expression, and for a non-string operand will have a field with a string expression that processes the second operand. You can see an example in simstr::operator+<StrExpr A, FromIntNumber T>()


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