summaryrefslogtreecommitdiff
path: root/boost/lambda/detail/lambda_traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/lambda/detail/lambda_traits.hpp')
-rw-r--r--boost/lambda/detail/lambda_traits.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/boost/lambda/detail/lambda_traits.hpp b/boost/lambda/detail/lambda_traits.hpp
index f35fa09735..cae0f38e6d 100644
--- a/boost/lambda/detail/lambda_traits.hpp
+++ b/boost/lambda/detail/lambda_traits.hpp
@@ -282,6 +282,11 @@ struct const_copy_argument<void> {
typedef void type;
};
+template<>
+struct const_copy_argument<void const> {
+ typedef void type;
+};
+
// Does the same as const_copy_argument, but passes references through as such
template<class T>