#Tuples

1 messages · Page 1 of 1 (latest)

light boneBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

finite sinew
#

#ifndef STUDENT_FILES_24___1__TUPLE_H
#define STUDENT_FILES_24___1__TUPLE_H

template <typename T,typename E>
class Tuple {
private:
T firstValue;
E secondValue;
public:
Tuple(T first,E second);
~Tuple();
T getFirst();
E getSecond();
bool operator ==(Tuple<T,E> t);
};

template<typename T, typename E>
Tuple<T, E>::Tuple(T first, E second) {

}

#endif //STUDENT_FILES_24___1__TUPLE_H

#

am I allowed to copy paste the auto definition into the .cpp

#

and then code the constructor

#

Imma try this and reprt back when I get further with testing