vector_.hh 432 Bytes
/**
 * vector_.hh
 *
 *  Created on: 08 sep. 2020
 *      Author: AKKA IS
 */

#ifndef VECTOR_HH_
#define VECTOR_HH_

#include <vector>

template <typename Type1, typename Type2, typename Type3>
std::vector<Type1> vector_(const Type1& comp1, const Type2& comp2, const Type3& comp3) {
	std::vector<Type1> vec;
	vec.push_back(comp1);
	vec.push_back((Type1)comp2);
	vec.push_back((Type1)comp3);
	return vec;
}

#endif /* VECTOR_HH_ */