mirror of
				https://github.com/red0124/ssp.git
				synced 2025-11-03 22:36:44 +01:00 
			
		
		
		
	undo removal of right_of_impl
This commit is contained in:
		
							parent
							
								
									7ea33c80e2
								
							
						
					
					
						commit
						f2cc7265b6
					
				@ -57,6 +57,14 @@ using head_t = typename left_of_impl<0, Ts...>::type;
 | 
			
		||||
// tup tail/last
 | 
			
		||||
////////////////
 | 
			
		||||
 | 
			
		||||
template <size_t N, typename T, typename... Ts>
 | 
			
		||||
struct right_of_impl;
 | 
			
		||||
 | 
			
		||||
template <size_t N, typename T, typename... Ts>
 | 
			
		||||
struct right_of_impl {
 | 
			
		||||
    using type = typename right_of_impl<N - 1, Ts...>::type;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
template <typename T, typename... Ts>
 | 
			
		||||
struct right_of_impl<0, T, Ts...> {
 | 
			
		||||
    using type = std::tuple<T, Ts...>;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user