Added template instatnce.

This commit is contained in:
Kruno Tomola Fabro 2016-08-30 23:37:10 +01:00
parent 8fa73eee43
commit 6a937fa334
2 changed files with 9 additions and 3 deletions

View File

@ -19,9 +19,9 @@ public:
// make sure to call this before requesting any random numbers!
// NOTE: Valgird complanis to next instruction
// std::random_device rd;
// std::mt19937_64 gen(rd());
std::mt19937_64 gen(time(0));
std::random_device rd;
std::mt19937_64 gen(rd());
// std::mt19937_64 gen(time(0));
std::uniform_int_distribution<unsigned long long> dist;

View File

@ -113,6 +113,9 @@ Order VertexIndex<K>::order()
return HALF_CALL(order());
}
// INSTANCES OF VERTEX INDEX
template class VertexIndex<std::nullptr_t>;
// **************** EdgeIndex
template <class K>
EdgeIterator EdgeIndex<K>::for_range(DbAccessor &t, Border<K> from,
@ -133,6 +136,9 @@ Order EdgeIndex<K>::order()
return HALF_CALL(order());
}
// INSTANCES OF EDGE INDEX
template class EdgeIndex<std::nullptr_t>;
// ************************* DbAccessor
DESTRUCTOR(DbAccessor, DbAccessor);