Homomorphous lists that have the ownership on their items. Deletion of the list will delete items as well.
|
template<class ElementType , class Comparison > |
void | SortList (BaseSafeList< ElementType > &list) |
| Sort list with a comparaison custom class. More...
|
|
template<class ElementType > |
void | SortList (BaseSafeList< ElementType > &list) |
| Sort list from lowest to highest value (ComparisonLower). More...
|
|
template<class ElementType > |
bool | operator== (const BaseSafeList< ElementType > &left, const BaseSafeList< ElementType > &right) |
| Equality operator. More...
|
|
Equality operator.
- Template Parameters
-
ElementType | List items type. Items must be instanciable whitout parameters. (scalar type or class with constructor without parameters or with default values.) |
- Parameters
-
left | The first instance to compare. |
right | The second instance to compare. |
- Returns
- true if the list are considered equivalent.
Sort list with a comparaison custom class.
- Template Parameters
-
ElementType | List items type. Items must be instanciable whitout parameters. (scalar type or class with constructor without parameters or with default values.) |
Comparison | Comparison algorithm. Available algorithms : ComparisonLower or ComparisonUpper |
- Parameters
-
Sort list from lowest to highest value (ComparisonLower).
- Template Parameters
-
ElementType | List items type. Items must be instanciable whitout parameters. (scalar type or class with constructor without parameters or with default values.) |
- Parameters
-