05-09-2014, 12:39 AM 
		
	
	
	
	
	
	
| 
					 ARRAY.unique
				 | 
| 
		
		
		05-09-2014, 04:27 AM 
		
	 
		In QM you cannot add user-defined member functions of ARRAY. Then would need separate functions for ARRAY(int), ARRAY(str) etc. Use non-member functions instead. Function ARRAY_int_Unique function ARRAY(int)&a ... for i a.len-1 0 -1 ... 
		
		
		05-10-2014, 01:42 AM 
		
	 
		Thanks. Is there any chance to implement array.unique in a new QM release? For sure, it would be useful and faster. 
		
		
		05-10-2014, 04:30 AM 
		
	 
		No. Difficult to compare all types.
	 | 
| 
					« Next Oldest | Next Newest »
				 | 
Users browsing this thread: 1 Guest(s)

 
 

 
