diff options
Diffstat (limited to 'contrib/src/boost/move/detail/meta_utils_core.hpp')
-rw-r--r-- | contrib/src/boost/move/detail/meta_utils_core.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/src/boost/move/detail/meta_utils_core.hpp b/contrib/src/boost/move/detail/meta_utils_core.hpp index 4d715a0..40dbb6e 100644 --- a/contrib/src/boost/move/detail/meta_utils_core.hpp +++ b/contrib/src/boost/move/detail/meta_utils_core.hpp @@ -114,6 +114,18 @@ struct is_same<T, T> static const bool value = true; }; +////////////////////////////////////// +// enable_if_same +////////////////////////////////////// +template <class T, class U, class R = void> +struct enable_if_same : enable_if<is_same<T, U>, R> {}; + +////////////////////////////////////// +// disable_if_same +////////////////////////////////////// +template <class T, class U, class R = void> +struct disable_if_same : disable_if<is_same<T, U>, R> {}; + } //namespace move_detail { } //namespace boost { |