Go to the source code of this file.
Namespaces | |
paal | |
global namespace of project. | |
paal::data_structures | |
Data Structure namespace. | |
paal::data_structures::detail | |
Detail of Data Structure namespace. | |
Functions | |
template<typename Name , typename NewType , typename Names , typename Types > | |
replaced_type< Name, NewType, detail::components< Names, Types > >::type | paal::data_structures::replace (NewType comp, detail::components< Names, Types > components) |
This function, for a specific Name, replaces compoonent in the components class. The comonent should have deifferent type than prevoius component for this Name (If the type is the same, set member function from components class chould be used). The function returns components class fo type replaced_type<Name, NewType, Oldcomponents >::type. The function creates temporary object wich behaves like result components and creates final object calling special Copy constructor. More... | |