Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82678 - trunk/boost/type_traits
From: john_at_[hidden]
Date: 2013-02-06 20:23:56


Author: johnmaddock
Date: 2013-02-01 05:16:07 EST (Fri, 01 Feb 2013)
New Revision: 82678
URL: http://svn.boost.org/trac/boost/changeset/82678

Log:
Add comment to the effect that is_POD is deprecated, and get it to forward to is_pod.
Text files modified:
   trunk/boost/type_traits/is_pod.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/type_traits/is_pod.hpp
==============================================================================
--- trunk/boost/type_traits/is_pod.hpp (original)
+++ trunk/boost/type_traits/is_pod.hpp 2013-02-01 05:16:07 EST (Fri, 01 Feb 2013)
@@ -131,8 +131,10 @@
 
 } // namespace detail
 
-BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_POD,T,::boost::detail::is_pod_impl<T>::value)
 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_pod,T,::boost::detail::is_pod_impl<T>::value)
+// is_POD is the old depricated name for this trait, do not use this as it may
+// be removed in future without warning!!
+BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_POD,T,::boost::is_pod<T>::value)
 
 } // namespace boost
 


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