blob: ebf7c3412e8438e9ead43bcc266f3c03c16857eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include <Standard_OutOfRange.hxx>
#include <cstring>
inline Item& math_SingleTab::Value(const Standard_Integer Index) const
{
return ((Item*)Addr)[Index];
}
inline void math_SingleTab::Copy(math_SingleTab& Other) const
{
memmove((void*) (((Item*)Other.Addr) + Other.First),
(const void*) (((Item*)Addr) + First),
(size_t)(Last - First + 1) * sizeof(Item));
}
|