Home » U++ Library support » U++ Library : Other (not classified elsewhere) » vectormap exampe is not working anymore  
	
		
		
			| vectormap exampe is not working anymore [message #58382] | 
			Sun, 15 May 2022 13:23   | 
		 
		
			
				
				
				
					
						  
						aftershock
						 Messages: 143 Registered: May 2008 
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		Hi, 
 
Something changed. If it is a bug or it is not I do not know. 
 
The following definition does not work any more. 
 
  
 VectorMap<int64_t, Vector<Value> > cache; 
I compiled it with msc19 x64. 
 
Error is : 
D:\upp16236\uppsrc\Core\Vcont.h(195): error C2280: 'Upp::Vector<Upp::Value>::Vector(const Upp::Vector<Upp::Value> &)': attempting to reference a deleted f 
    unction 
D:\upp16236\uppsrc\Core\Vcont.h(326): note: compiler has generated 'Upp::Vector<Upp::Value>::Vector' here 
D:\upp16236\uppsrc\Core\Vcont.h(326): note: 'Upp::Vector<Upp::Value>::Vector(const Upp::Vector<Upp::Value> &)': function was implicitly deleted because 'U 
    pp::Vector<Upp::Value>' has a user-defined move constructor 
D:\upp16236\uppsrc\Core\Vcont.h(195): note: while compiling class template member function 'T &Upp::Vector<T>::Add(const T &)' 
        with 
        [ 
            T=Upp::Vector<Upp::Value> 
        ] 
D:\upp16236\uppsrc\Core\Map.hpp(12): note: see reference to function template instantiation 'T &Upp::Vector<T>::Add(const T &)' being compiled 
        with 
        [ 
            T=Upp::Vector<Upp::Value> 
        ] 
D:\upp16236\uppsrc\Core\Map.h(36): note: see reference to class template instantiation 'Upp::Vector<Upp::Vector<Upp::Value>>' being compiled 
D:\upp16236\uppsrc\Core\Map.h(227): note: see reference to class template instantiation 'Upp::AMap<K,T,Upp::Vector<T>>' being compiled 
        with 
        [ 
            K=int64_t, 
            T=Upp::Vector<Upp::Value> 
        ] 
D:\m\upp\tradetester\idatabase.h(16): note: see reference to class template instantiation 'Upp::VectorMap<int64_t,Upp::Vector<Upp::Value>>' being compiled 
 
 
 
Can you fix this or provide a solution? 
Tnanks. 
 
A. 
 
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 08:49:36 CET 2025 
 Total time taken to generate the page: 0.04069 seconds 
 |