From 196914b7a0d4e893f7bce108b5b4a2f1a8b944e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 4 Jun 2015 11:12:48 +0200 Subject: [PATCH] Added is_const trait --- include/boost/move/detail/type_traits.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/boost/move/detail/type_traits.hpp b/include/boost/move/detail/type_traits.hpp index 8e67755..ab79fb1 100644 --- a/include/boost/move/detail/type_traits.hpp +++ b/include/boost/move/detail/type_traits.hpp @@ -343,6 +343,17 @@ template struct is_pointer { static const bool value = true; }; +////////////////////////// +// is_const +////////////////////////// +template +struct is_const +{ static const bool value = false; }; + +template +struct is_const +{ static const bool value = true; }; + ////////////////////////// // unvoid_ref //////////////////////////