acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaaa__defer.h
1
#pragma once
2
3
4
#if !defined(_DEBUG) && !defined(CUBE)
5
6
7
#include "acme/inline/_new_impl.h"
8
9
10
#endif
11
12
13
14
//namespace prototype
15
//{
16
//
17
//
18
// template < typename TYPE >
19
// template < typename OBJECT >
20
// ::pointer<OBJECT>member < TYPE >::cast() const
21
// {
22
//
23
// return ::is_null((TYPE*)m_p) ? nullptr : (TYPE*)m_p;
24
//
25
// }
26
//
27
//
28
//} // namespace prototype
29
30
31
namespace
acme
32
{
33
34
35
namespace
array
36
{
37
38
39
template
<
class
TDST,
class
TSRC >
40
::collection::count copy(TDST & dsta,
const
TSRC & srca)
41
{
42
43
dsta.set_size(srca.get_size());
44
45
for
(::i32 i = 0; i < dsta.get_size(); i++)
46
{
47
48
::copy(dsta[i], srca[i]);
49
50
}
51
52
return
dsta.get_count();
53
54
}
55
56
57
}
// namespace array
58
59
60
}
// namespace acme
61
62
63
#include "acme/prototype/geometry2d/_defer.h"
64
65
66
acme
include "aura/graphics/image/context.h"
Definition
aaaa__defer.h:32
aaaa__defer.h
Generated by
1.17.0