acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_atom_array.h
1#pragma once
2
3
4#include "array.h"
5#include "comparable_eq_array.h"
6#include "comparable_array.h"
7
8
9using atom_array = ::comparable_array < ::atom >;
10
11
12template < typename Type, typename RawType, ::enum_type t_etypeContainer >
13atom_array __atom_array(const string_base_array < Type, RawType, t_etypeContainer > & a)
14{
15
16 atom_array atoma;
17
18 for (::collection::index i = 0; i < a.get_count(); i++)
19 {
20
21 atoma.add(a.element_at(i));
22
23 }
24
25 return atoma;
26
27}
28
29
30
31
32