When I'm reading your excellent code, I've got confused of your use of unordered_map.
In your code include/DataFrame/Vectors/HeteroPtrView.h, you've set a private member which I quote here
template<typename T> inline static std::unordered_map<const HeteroPtrView *, VectorPtrView<T>> views_ { };.
Then in include/DataFrame/Vectors/HeteroPtrView.tcc, the constructor method
Hi Hosseinmoein,
When I'm reading your excellent code, I've got confused of your use of
unordered_map
.In your code
include/DataFrame/Vectors/HeteroPtrView.h
, you've set a private member which I quote heretemplate<typename T> inline static std::unordered_map<const HeteroPtrView *, VectorPtrView<T>> views_ { };
.Then in
include/DataFrame/Vectors/HeteroPtrView.tcc
, the constructor methodtemplate <typename T> HeteroPtrView::HeteroPtrView(VectorPtrView<T>& vec)
,you've used a
push_back
method whichunordered_map
unsupported, is there something wrong?HeteroPtrView.h
HeteroPtrView.tcc