mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 09:07:42 +00:00
Initial work on CActor.cpp
This commit is contained in:
@@ -72,6 +72,13 @@ inline void uninitialized_copy_n(D* dest, S* src, size_t count) {
|
||||
}
|
||||
// destroy(src, src + count); ??
|
||||
}
|
||||
|
||||
template < typename D, typename S >
|
||||
inline void uninitialized_fill_n(D dest, int count, const S& value) {
|
||||
for (int i = 0; i < count; ++dest, ++i) {
|
||||
construct(dest, value);
|
||||
}
|
||||
}
|
||||
} // namespace rstl
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user