From de1f1dc67a1dabcddac2e89a5d703e98a92b7f11 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 20 Feb 2015 22:03:19 +0100 Subject: Added `ReplaceNth` list operation * as its name implies this function replaces the _nth_ element of a given list * added appropriate test case --- src/list/operation/delete_nth.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/list/operation/delete_nth.h') diff --git a/src/list/operation/delete_nth.h b/src/list/operation/delete_nth.h index 18e52bf..a834150 100644 --- a/src/list/operation/delete_nth.h +++ b/src/list/operation/delete_nth.h @@ -9,11 +9,11 @@ namespace tav { template < typename Index, - typename List + typename Sequence > using DeleteNth = Append< - Take, - Drop>, List> + Take, + Drop>, Sequence> >; } -- cgit v1.2.3