Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template<class T, class U>
- void CopyToPtr(const T& src, U dst, size_t size)
- {
- std::copy(std::begin(src), std::end(src), stdext::checked_array_iterator<U>(dst, size));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement