Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
msl_memory.h
Go to the documentation of this file.
1#ifndef MSL_MEMORY_H_
2#define MSL_MEMORY_H_
3
4namespace std {
5
6template<class ForwardIt, class Size, class T>
7inline ForwardIt uninitialized_fill_n(ForwardIt first, Size count, const T& value) {
8 for (; count--; ++first) {
9 if (first != NULL) {
10 *first = value;
11 }
12 }
13 return first;
14}
15
16template<class InputIterator, class ForwardIterator>
18 ForwardIterator __save = result;
19
20 for (; first != last; ++first, ++result) {
21 *result = *first;
22 }
23 return result;
24}
25
26template <class T, bool A, bool B>
28 static T* uninitialized_copy(T* first, T* last, T* result) {
29 return __uninitialized_copy(first, last, result);
30 }
31};
32
33template <class T>
35{
36 static T* uninitialized_copy(T* first, T* last, T* result)
37 {
38 for (; first < last; ++result, ++first)
39 *result = *first;
40 return result;
41 }
42};
43
44template <class T>
45inline T* uninitialized_copy(T* first, T* last, T* result) {
47}
48
49}
50
51#endif
T cLib_calcTimer(T *value)
Definition c_lib.h:79
static const double T[]
Definition k_tan.c:106
Definition d_a_e_wb.cpp:12
ForwardIterator __uninitialized_copy(InputIterator first, InputIterator last, ForwardIterator result)
Definition msl_memory.h:17
T * uninitialized_copy(T *first, T *last, T *result)
Definition msl_memory.h:45
ForwardIt uninitialized_fill_n(ForwardIt first, Size count, const T &value)
Definition msl_memory.h:7
static T * uninitialized_copy(T *first, T *last, T *result)
Definition msl_memory.h:36
Definition msl_memory.h:27
static T * uninitialized_copy(T *first, T *last, T *result)
Definition msl_memory.h:28