Valid Expressions
Name
Expression
Type requirements
Return type
Character assignment
X::assign(c1, c2)
c1 is a modifiable lvalue.
void
Character equality
X::eq(c1, c2)
bool
Character comparison
X::lt(c1, c2)
bool
Range comparison
X::compare(p1, p2, n)
int
Length
X::length(p)
size_t
Find
X::find(p, n, c)
const X::char_type*
Move
X::move(s, p, n)
X::char_type*
Copy
X::copy(s, p, n)
X::char_type*
Range assignment
X::assign(s, n, c)
X::char_type*
EOF value
X::eof()
X::int_type
Not EOF
X::not_eof(e)
X::int_type
Convert to value type
X::to_char_type(e)
X::char_type
Convert to int type
X::to_int_type(c)
X::int_type
Equal int type values
X::eq_int_type(e1, e2)
bool