type: std::char



The syntax for std::char definitions is:

std::char definitions
:=(std::char, definitions)
@std::char definitions
@:=(std::char, definitions)

Note: If you are using the first syntax for variable definitions and want to have more code and/or text following on the same line then simply end the definition with ';'.


The std::char type is used for character values.

Note: ExprTk does not have direct access to variables of type std::char, if you want the convenience and efficiency of direct access then use char.

Note: If you need to define thousands of variables then := is faster, plus it has useful error messages for unrecognised types.


The following options are available for std::char definitions:

option description
const definition of a constant
layer="x" define variable at layer x
private definition of a private
scope+="x" add x to scopes variable can be accessed from
option description

f++ example

Examples of std::char being defined with f++:

std::char a='i', b='j'
std::char(x, y, z)
:=(std::char, separator = ';')

n++ example

Examples of std::char being defined with n++:

@std::char a='i', b='j'
@std::char(x, y, z)
@:=(std::char, separator = ';')