mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 03:54:33 +00:00 
			
		
		
		
	Remove vector view. The std::vector will not inform Memory manager of
deletion and so a stale entry could be left. It is not and should not be used.
This commit is contained in:
		| @@ -179,6 +179,7 @@ template<class T> using Vector              = std::vector<T,uvmAllocator<T> >; | |||||||
| template<class T> using uvmVector           = std::vector<T,uvmAllocator<T> >;               // auto migrating page | template<class T> using uvmVector           = std::vector<T,uvmAllocator<T> >;               // auto migrating page | ||||||
| template<class T> using deviceVector        = std::vector<T,devAllocator<T> >;               // device vector | template<class T> using deviceVector        = std::vector<T,devAllocator<T> >;               // device vector | ||||||
|  |  | ||||||
|  | /* | ||||||
| template<class T> class vecView | template<class T> class vecView | ||||||
| { | { | ||||||
|  protected: |  protected: | ||||||
| @@ -214,6 +215,7 @@ template<class T> vecView<T> VectorView(Vector<T> &vec,ViewMode _mode) | |||||||
| #define autoVecView(v_v,v,mode)					\ | #define autoVecView(v_v,v,mode)					\ | ||||||
|   auto v_v = VectorView(v,mode);				\ |   auto v_v = VectorView(v,mode);				\ | ||||||
|   ViewCloser<decltype(v_v)> _autoView##v_v(v_v); |   ViewCloser<decltype(v_v)> _autoView##v_v(v_v); | ||||||
|  | */ | ||||||
|  |  | ||||||
| NAMESPACE_END(Grid); | NAMESPACE_END(Grid); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user