diff --git a/include/mcache/client.h b/include/mcache/client.h index fa7c92b..ca74b8d 100644 --- a/include/mcache/client.h +++ b/include/mcache/client.h @@ -312,6 +312,7 @@ template < } } +#if __cplusplus >= 201103L /** Apply functor to variable in memcache * @param key key for data * @param callback transformation functor @@ -344,6 +345,7 @@ template < } throw error_t(err::unable_cas, "max iterations reached"); } +#endif /* __cplusplus */ /** Call 'get' command on appropriate memcache server. * @param key key for data.