77// //////////////////////////////////////////////////////////////////////////
88
99#pragma once
10-
10+ struct EmptyVertexData {};
1111template <typename T> class CEmptyClassTemplate {};
1212template <typename T1, typename T2> class CEmptyClassTemplate2 {};
1313
@@ -16,18 +16,17 @@ template <
1616 typename _builder, // CVertexPath
1717 typename _allocator
1818>
19- struct CManagerBuilderAllocatorConstructor {
20- template <
21- template <typename T> class _vertex = CEmptyClassTemplate
22- >
23- class CDataStorage :
24- public _manager::template CDataStorage<_builder, _allocator, _vertex>
19+ struct CManagerBuilderAllocatorConstructor
20+ {
21+ template <typename TCompoundVertex>
22+ class CDataStorage :
23+ public _manager::template CDataStorage<_builder, _allocator, TCompoundVertex>
2524 {
2625 public:
27- typedef typename _manager::template CDataStorage<_builder, _allocator, _vertex > inherited;
26+ typedef typename _manager::template CDataStorage<_builder, _allocator, TCompoundVertex > inherited;
2827 typedef typename inherited::CDataStorageAllocator inherited_allocator;
29- typedef typename inherited::CGraphVertex CGraphVertex;
30- typedef typename CGraphVertex::_index_type _index_type;
28+ typedef TCompoundVertex CGraphVertex;
29+ typedef typename CGraphVertex::_index_type _index_type;
3130
3231 public:
3332 CDataStorage (const u32 vertex_count) :
@@ -46,16 +45,16 @@ template <
4645 typename _manager, // CVertexManagerFixed|CVertexManagerHashFixed
4746 typename _builder, // CEdgePath|CVertexPath
4847 typename _allocator, // CVertexAllocatorFixed
49- template < typename _T> class _vertex = CEmptyClassTemplate // _Vertex -- dijkstra vertex
48+ typename TCompoundVertex // _Vertex -- dijkstra vertex
5049>
5150struct CDataStorageConstructor : // CDataStorageBucketList::CDataStorage<CManagerBuilderAllocatorConstructor<manager, path, allocator> >
5251 public _algorithm::template CDataStorage<
53- CManagerBuilderAllocatorConstructor<_manager, _builder, _allocator>, _vertex >
52+ CManagerBuilderAllocatorConstructor<_manager, _builder, _allocator>, TCompoundVertex >
5453{
5554 typedef typename _algorithm::template CDataStorage<
56- CManagerBuilderAllocatorConstructor<_manager, _builder, _allocator>, _vertex > inherited;
55+ CManagerBuilderAllocatorConstructor<_manager, _builder, _allocator>, TCompoundVertex > inherited;
5756
58- typedef typename inherited::CGraphVertex CGraphVertex;
57+ typedef TCompoundVertex CGraphVertex;
5958 typedef typename CGraphVertex::_index_type _index_type;
6059
6160 CDataStorageConstructor (const u32 vertex_count) :
0 commit comments