Changeset 37547 in vbox for trunk/include/VBox
- Timestamp:
- Jun 17, 2011 2:34:13 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72384
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/list.h
r37545 r37547 196 196 }; 197 197 198 template <typename T> RTCList<T> SafeArrayToRTCList(ComSafeArrayIn(T, other), T* = 0)199 {200 com::SafeArray<T> sfaOther(ComSafeArrayInArg(other));201 RTCList<T> list(sfaOther.size());202 for (size_t i = 0; i < sfaOther.size(); ++i)203 list.append(sfaOther[i]);204 return list;205 }198 //template <typename T> RTCList<T> SafeArrayToRTCList(ComSafeArrayIn(T, other), T* = 0) 199 //{ 200 // com::SafeArray<T> sfaOther(ComSafeArrayInArg(other)); 201 // RTCList<T> list(sfaOther.size()); 202 // for (size_t i = 0; i < sfaOther.size(); ++i) 203 // list.append(sfaOther[i]); 204 // return list; 205 //} 206 206 207 207 #endif /* !___VBox_com_list_h */
Note:
See TracChangeset
for help on using the changeset viewer.