Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79608 - sandbox/type_erasure/boost/type_erasure
From: steven_at_[hidden]
Date: 2012-07-19 15:06:27


Author: steven_watanabe
Date: 2012-07-19 15:06:27 EDT (Thu, 19 Jul 2012)
New Revision: 79608
URL: http://svn.boost.org/trac/boost/changeset/79608

Log:
Remove unused typedefs
Text files modified:
   sandbox/type_erasure/boost/type_erasure/any_cast.hpp | 9 ---------
   1 files changed, 0 insertions(+), 9 deletions(-)

Modified: sandbox/type_erasure/boost/type_erasure/any_cast.hpp
==============================================================================
--- sandbox/type_erasure/boost/type_erasure/any_cast.hpp (original)
+++ sandbox/type_erasure/boost/type_erasure/any_cast.hpp 2012-07-19 15:06:27 EDT (Thu, 19 Jul 2012)
@@ -127,9 +127,6 @@
 template<class T, class Concept, class Tag>
 T any_cast(const any<Concept, Tag>& arg)
 {
- typedef typename ::boost::remove_cv<
- typename ::boost::remove_reference<Tag>::type
- >::type tag_type;
     if(::boost::type_erasure::detail::check_any_cast<T>(arg)) {
         return *static_cast<
             typename ::boost::remove_reference<
@@ -146,9 +143,6 @@
 T any_cast(any<Concept, Tag>* arg)
 {
     BOOST_MPL_ASSERT((::boost::is_pointer<T>));
- typedef typename ::boost::remove_cv<
- typename ::boost::remove_reference<Tag>::type
- >::type tag_type;
     if(::boost::type_erasure::detail::check_any_cast<
         typename ::boost::remove_pointer<T>::type>(*arg)) {
         return static_cast<
@@ -164,9 +158,6 @@
 T any_cast(const any<Concept, Tag>* arg)
 {
     BOOST_MPL_ASSERT((::boost::is_pointer<T>));
- typedef typename ::boost::remove_cv<
- typename ::boost::remove_reference<Tag>::type
- >::type tag_type;
     if(::boost::type_erasure::detail::check_any_cast<
         typename ::boost::remove_pointer<T>::type>(*arg)) {
         return static_cast<


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk