/usr/include/ITK-4.5/emulation/vcl_map.txx is in libinsighttoolkit4-dev 4.5.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #ifndef vcl_emulation_map_txx_
#define vcl_emulation_map_txx_
#include "vcl_map.h"
#include "vcl_multimap.h"
#include "vcl_rbtree.txx"
// --- vcl_map ---
// * You can't call VCL_MAP_INSTANTIATE twice from within the same macro
// as the __LINE__ will be the same.
#undef VCL_MAP_INSTANTIATE
#define VCL_MAP_INSTANTIATE(T, Key, Comp) \
template class vcl_map<T, Key, Comp VCL_DFL_TMPL_ARG(vcl_alloc) >;\
/*fsm: the multimap should be instantiated with VCL_MULTIMAP_INSTANTIATE */ \
/*template class vcl_multimap<T,Key,Comp VCL_DFL_TMPL_ARG(vcl_alloc) >;*/ \
VCL_RBTREE_MAP_PAIR_INSTANTIATE(T, Key, __LINE__)
// This "identity" passthru gets __LINE__ expanded
#define VCL_RBTREE_MAP_PAIR_INSTANTIATE(T, Key, TAG) VCL_RBTREE_MAP_PAIRx_INSTANTIATE(T, Key, TAG)
#define VCL_RBTREE_MAP_PAIRx_INSTANTIATE(T, Key, TAG) \
typedef vcl_pair<T const, Key > RBPairc ## TAG;\
VCL_PAIR_const_INSTANTIATE(T const, Key);\
VCL_RBTREE_PAIR_INSTANTIATE(T, RBPairc ## TAG)
#define VCL_RBTREE_PAIR_INSTANTIATE(T, RBPair) \
VCL_RBTREE_INSTANTIATE(T,RBPair,vcl_select1st<RBPair >,vcl_less<T >);\
VCL_RBTREE_VALUE_INSTANTIATE(RBPair)
// -------------------- multimap
#undef VCL_MULTIMAP_INSTANTIATE
#define VCL_MULTIMAP_INSTANTIATE(T, Key, Comp) \
template class vcl_multimap<T, Key, Comp >
#endif // vcl_emulation_map_txx_
|