vcl_list.txx

来自「InsightToolkit-1.4.0(有大量的优化算法程序)」· TXX 代码 · 共 30 行

TXX
30
字号
#ifndef vcl_egcs_list_txx_
#define vcl_egcs_list_txx_

#include <vcl_list.h>

// MT: Member template

#define VCL_LIST_INSTANTIATE_MT_InputIterator(T, InputIterator) \
template list<T >::list(InputIterator first, InputIterator last); \
template void list<T >::insert(list<T >::iterator, InputIterator, InputIterator)

#undef VCL_LIST_INSTANTIATE
#define VCL_LIST_INSTANTIATE(T) \
template class list<T >;\
VCL_LIST_INSTANTIATE_MT_InputIterator(T, list<T >::iterator);\
VCL_LIST_INSTANTIATE_MT_InputIterator(T, list<T >::const_iterator)

#if 0 // commented out
#ifdef __STL_MEMBER_TEMPLATES
#define INSTANTIATE_LIST_MT_InputIterator(T, InputIterator) \
template list<T >::list(InputIterator first, InputIterator last);\
template void list<T >::insert(list<T >::iterator position, InputIterator first, InputIterator last);\
template void list<T >::range_initialize(InputIterator first, InputIterator last)
#else
#define INSTANTIATE_LIST_MT_InputIterator(T, InputIterator) /* no-op */
#endif
#endif // 0

#endif // vcl_egcs_list_txx_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?