Now ATIDLAS is standalone. Everything dynamic....

This commit is contained in:
Philippe Tillet
2015-01-12 13:20:53 -05:00
parent a6de4c96be
commit 69311b7982
3845 changed files with 646893 additions and 6620 deletions

View File

@@ -0,0 +1,32 @@
#ifndef ATIDLAS_TOOLS_MAKE_VECTOR_HPP
#define ATIDLAS_TOOLD_MAKE_VECTOR_HPP
#include <vector>
namespace atidlas
{
namespace tools
{
template <typename T>
class make_vector
{
public:
typedef make_vector<T> my_type;
my_type& operator<< (const T& val) {
data_.push_back(val);
return *this;
}
operator std::vector<T>() const {
return data_;
}
private:
std::vector<T> data_;
};
}
}
#endif