Expression | Return type | Assertion/note | Complexity |
pre-/post-condition | |||
Xβ::βchar_type | C | ||
Xβ::βint_type | (described in [char.traits.typedefs]) | ||
Xβ::βoff_type | (described in [iostreams.limits.pos] and [iostream.forward]) | ||
Xβ::βpos_type | (described in [iostreams.limits.pos] and [iostream.forward]) | ||
Xβ::βstate_type | (described in [char.traits.typedefs]) | ||
Xβ::βeq(c,d) | bool | constant | |
Xβ::βlt(c,d) | bool | constant | |
Xβ::βcompare(p,q,n) | int | Returns: 0 if for each i in [0, n), Xβ::βeq(p[i],q[i])
is true; else, a negative value if, for some j in [0, n),
Xβ::βlt(p[j],q[j]) is true and for each i in [0, j)
Xβ::βeq(p[i],q[i]) is true; else a positive value. | linear |
Xβ::βlength(p) | size_t | linear | |
Xβ::βfind(p,n,c) | const Xβ::βchar_type* | linear | |
Xβ::βmove(s,p,n) | Xβ::βchar_type* | linear | |
Xβ::βcopy(s,p,n) | Xβ::βchar_type* | linear | |
Xβ::βassign(r,d) | (not used) | assigns r=d. | constant |
Xβ::βassign(s,n,c) | Xβ::βchar_type* | linear | |
Xβ::βnot_eof(e) | int_type | Returns: e if Xβ::βeq_int_type(e,Xβ::βeof()) is false,
otherwise a value f such that
Xβ::βeq_int_type(f,Xβ::βeof()) is false. | constant |
Xβ::βto_char_type(e) | Xβ::βchar_type | Returns: if for some c, Xβ::βeq_int_type(e,Xβ::βto_int_type(c))
is true, c; else some unspecified value. | constant |
Xβ::βto_int_type(c) | Xβ::βint_type | constant | |
Xβ::βeq_int_type(e,f) | bool | Returns: for all c and d, Xβ::βeq(c,d) is equal to
Xβ::βeq_int_type(Xβ::βto_int_type(c), Xβ::βto_int_type(d)); otherwise, yields true
if e and f are both copies of Xβ::βeof(); otherwise, yields false if
one of e and f is a copy of Xβ::βeof() and the other is not; otherwise
the value is unspecified. | constant |
Xβ::βeof() | Xβ::βint_type | Returns: a value e such that Xβ::βeq_int_type(e,Xβ::βto_int_type(c))
is false for all values c. | constant |