acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
array_base1.h
1#pragma once
2
3
4#include "base_array_quantum.h"
5#include "acme/prototype/prototype/particle.h"
6
7//
8// template < class TYPE, class ARG_TYPE, class TYPED, class MEMORY, ::enum_type t_etypeContainer >
9// class base_array :
10// virtual public ::particle,
11// public base_array_quantum < TYPE, ARG_TYPE, TYPED, MEMORY, t_etypeContainer >
12// {
13// public:
14//
15//
16// using BASE_ARRAY = base_array_quantum < TYPE, ARG_TYPE, TYPED, MEMORY, t_etypeContainer >;
17//
18//
19// //base_array() : base_array_quantum< TYPE, ARG_TYPE, TYPED, MEMORY, t_etypeContainer >() {}
20// //template < typename ...Args >
21// //base_array(Args&&... args) :
22// // base_array_quantum< TYPE, ARG_TYPE, TYPED, MEMORY, t_etypeContainer >(::std::forward < Args >(args)...)
23// //{
24// //}
25//
26// base_array() {}
27// base_array(std::initializer_list < TYPE > initializer_list) :BASE_ARRAY(initializer_list) {}
28// base_array(const BASE_ARRAY & a) :BASE_ARRAY(a) {}
29// base_array(BASE_ARRAY && a) noexcept :BASE_ARRAY(a) {}
30// base_array(const TYPE * p, ::collection::count c) :BASE_ARRAY(p, c) {}
31// base_array(::range < typename BASE_ARRAY::const_iterator > constrange) :
32// BASE_ARRAY(constrange.begin(), constrange.end()) {}
33// template < prototype_integral INTEGRAL >
34// base_array(typename BASE_ARRAY::const_iterator begin, INTEGRAL count) :
35// BASE_ARRAY(begin, begin + count) {}
36// base_array(typename BASE_ARRAY::const_iterator begin, typename BASE_ARRAY::const_iterator end)
37// {
38// auto p = this->begin();
39// while (p != end) add(*p);
40// }
41//
42//
43// void destroy()
44// {
45//
46// particle::destroy();
47//
48// BASE_ARRAY::destroy();
49//
50// }
51//
52//
53// };
54//
55
56