A view is an expression if the underlying data are read-only.
Underlying collection type | X::source_type | Is a Collection type |
Name | Expression | Type requirements | Return type | |
---|---|---|---|---|
Constructor | X a(c,argument2,arg3,...,argn) | X | ||
Source | a.source() | X::source_type |
Name | Expression | Precondition | Semantics | Postcondition |
---|---|---|---|---|
Constructor | X a(c,arg2,arg3,...,argn) | Number of arguments depends on the view: n≥1 | ||
Source | a.source() |