tlp::MutableContainer< TYPE > Class Template Reference#include <MutableContainer.h>
Collaboration diagram for tlp::MutableContainer< TYPE >:
[legend]List of all members.template<typename TYPE>
class tlp::MutableContainer< TYPE >
Public Member Functions
Friends
Constructor & Destructor Documentation
Member Function Documentation
template<typename TYPE> |
const ReturnType< TYPE >::Value tlp::MutableContainer< TYPE >::get |
( |
const unsigned int |
i |
) |
const |
|
|
This function return a reference instead of a copy in order to minimize the the number copy of objects, user must be aware that calling the set function can devalidate this reference. |
|
This function is available only for optimisation purpose, one must be sure the the referenced element is not the default value. Use this function extremely carefully |
template<typename TYPE> |
void tlp::MutableContainer< TYPE >::set |
( |
const unsigned int |
i, |
|
|
const TYPE & |
value |
|
) |
|
|
Friends And Related Function Documentation
template<typename TYPE> |
friend class MutableContainerTest [friend] |
|
|