mirror of
https://github.com/xfarrow/lasd.git
synced 2025-06-05 21:49:14 +02:00
Library 2
This commit is contained in:
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
Reference in New Issue
Block a user