Library 2

This commit is contained in:
Alessandro Ferro
2021-04-14 08:42:18 +02:00
parent 1100ac3b56
commit 02918497cf
9 changed files with 288 additions and 69 deletions

View File

@ -2,8 +2,20 @@
namespace lasd {
/* ************************************************************************** */
template <typename Data>
QueueVec<Data>::QueueVec(){
size = 4;
Elements = new Data[size];
}
// ...
template <typename Data>
QueueVec(const LinearContainer<Data>& linear){
size = linear.Size();
Elements = new Data[size];
for(ulong i=0 ; i<linear.Size() ; ++i){
Elements[i] = linear[i];
}
}
/* ************************************************************************** */