forked from boostorg/core
Deprecated boost::core::is_same and the associated header.
Moved is_same implementation to detail (both directory and namespace) to use in the public headers and avoid introducing new dependencies. The documentation now recommends users to use Boost.TypeTraits or C++ standard library instead. Also, removed unnecessary includes and added missing ones in a few places.
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
|
||||
#define BOOST_ALLOW_DEPRECATED_HEADERS
|
||||
#include <boost/detail/iterator.hpp>
|
||||
#include <boost/core/is_same.hpp>
|
||||
#include <boost/core/lightweight_test_trait.hpp>
|
||||
#include <boost/type_traits/is_same.hpp>
|
||||
#include <cstddef>
|
||||
#include <list>
|
||||
|
||||
@@ -62,7 +62,7 @@ struct iterator
|
||||
|
||||
int main()
|
||||
{
|
||||
using boost::core::is_same;
|
||||
using boost::is_same;
|
||||
|
||||
/*
|
||||
template<class Iterator> struct iterator_traits {
|
||||
|
||||
Reference in New Issue
Block a user