]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/meta.h
Drop copyright and license notices from source files
[libs/core.git] / source / core / meta.h
index f12aede28a60029fd875377610d161d21ca63f61..0034512b6ec2bea573ffbcc34115fc8562a5cac8 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspcore
-Copyright © 2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_CORE_META_H_
 #define MSP_CORE_META_H_
 
@@ -18,6 +11,14 @@ template<typename T>
 struct RemoveConst<const T>
 { typedef T Type; };
 
+template<typename T>
+struct RemoveReference
+{ typedef T Type; };
+
+template<typename T>
+struct RemoveReference<T &>
+{ typedef T Type; };
+
 } // namespace Msp
 
 #endif