diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-05 10:11:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-05 10:11:28 +0200 |
commit | 713b3a62d97c6bea7c23597094af6b2439314b8c (patch) | |
tree | 7d8c1609b3215231459de2b66c243dac39e4001e /odb/details/meta/polymorphic-p.hxx | |
parent | ccdf7823df5974f1f55c347d3bb8b23e7738b047 (diff) |
Use more descriptive names in details/meta/
Diffstat (limited to 'odb/details/meta/polymorphic-p.hxx')
-rw-r--r-- | odb/details/meta/polymorphic-p.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/details/meta/polymorphic-p.hxx b/odb/details/meta/polymorphic-p.hxx index 1e58735..3215d63 100644 --- a/odb/details/meta/polymorphic-p.hxx +++ b/odb/details/meta/polymorphic-p.hxx @@ -9,7 +9,7 @@ #include <odb/pre.hxx> #include <odb/details/meta/class-p.hxx> -#include <odb/details/meta/remove-cv.hxx> +#include <odb/details/meta/remove-const-volatile.hxx> namespace odb { @@ -20,12 +20,12 @@ namespace odb template <typename CVX> struct polymorphic_p { - typedef typename remove_cv<CVX>::r X; + typedef typename remove_const_volatile<CVX>::result X; template <typename Y, bool C> struct impl { - static const bool r = false; + static const bool result = false; }; template <typename Y> @@ -44,10 +44,10 @@ namespace odb ~t2 () throw (); }; - static const bool r = sizeof (t1) == sizeof (t2); + static const bool result = sizeof (t1) == sizeof (t2); }; - static const bool r = impl<X, class_p<X>::r>::r; + static const bool result = impl<X, class_p<X>::result>::result; }; } } |