mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-06 09:16:33 +02:00
BOOST_STD_EXTENSION_NAMESPACE properly used as a namespace for slist
[SVN r28184]
This commit is contained in:
@ -10,6 +10,7 @@
|
|||||||
#ifndef BOOST_STRING_STD_SLIST_TRAITS_HPP
|
#ifndef BOOST_STRING_STD_SLIST_TRAITS_HPP
|
||||||
#define BOOST_STRING_STD_SLIST_TRAITS_HPP
|
#define BOOST_STRING_STD_SLIST_TRAITS_HPP
|
||||||
|
|
||||||
|
#include <boost/algorithm/string/config.hpp>
|
||||||
#include <boost/algorithm/string/yes_no_type.hpp>
|
#include <boost/algorithm/string/yes_no_type.hpp>
|
||||||
#include <slist>
|
#include <slist>
|
||||||
#include <boost/algorithm/string/sequence_traits.hpp>
|
#include <boost/algorithm/string/sequence_traits.hpp>
|
||||||
@ -23,21 +24,21 @@ namespace boost {
|
|||||||
|
|
||||||
// stable iterators tester
|
// stable iterators tester
|
||||||
template<typename T, typename AllocT>
|
template<typename T, typename AllocT>
|
||||||
yes_type has_stable_iterators_tester( const std::slist<T,AllocT>* );
|
yes_type has_stable_iterators_tester( const BOOST_STD_EXTENSION_NAMESPACE::slist<T,AllocT>* );
|
||||||
|
|
||||||
// const time insert tester
|
// const time insert tester
|
||||||
template<typename T, typename AllocT>
|
template<typename T, typename AllocT>
|
||||||
yes_type has_const_time_insert_tester( const std::slist<T,AllocT>* );
|
yes_type has_const_time_insert_tester( const BOOST_STD_EXTENSION_NAMESPACE::slist<T,AllocT>* );
|
||||||
|
|
||||||
// const time erase tester
|
// const time erase tester
|
||||||
template<typename T, typename AllocT>
|
template<typename T, typename AllocT>
|
||||||
yes_type has_const_time_erase_tester( const std::slist<T,AllocT>* );
|
yes_type has_const_time_erase_tester( const BOOST_STD_EXTENSION_NAMESPACE::slist<T,AllocT>* );
|
||||||
|
|
||||||
#else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
#else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
|
|
||||||
// stable iterators trait
|
// stable iterators trait
|
||||||
template<typename T, typename AllocT>
|
template<typename T, typename AllocT>
|
||||||
class has_stable_iterators< std::slist<T,AllocT> >
|
class has_stable_iterators< BOOST_STD_EXTENSION_NAMESPACE::slist<T,AllocT> >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
#if BOOST_WORKAROUND( __IBMCPP__, <= 600 )
|
#if BOOST_WORKAROUND( __IBMCPP__, <= 600 )
|
||||||
@ -50,7 +51,7 @@ namespace boost {
|
|||||||
|
|
||||||
// const time insert trait
|
// const time insert trait
|
||||||
template<typename T, typename AllocT>
|
template<typename T, typename AllocT>
|
||||||
class has_const_time_insert< std::slist<T,AllocT> >
|
class has_const_time_insert< BOOST_STD_EXTENSION_NAMESPACE::slist<T,AllocT> >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
#if BOOST_WORKAROUND( __IBMCPP__, <= 600 )
|
#if BOOST_WORKAROUND( __IBMCPP__, <= 600 )
|
||||||
@ -63,7 +64,7 @@ namespace boost {
|
|||||||
|
|
||||||
// const time erase trait
|
// const time erase trait
|
||||||
template<typename T, typename AllocT>
|
template<typename T, typename AllocT>
|
||||||
class has_const_time_erase< std::slist<T,AllocT> >
|
class has_const_time_erase< BOOST_STD_EXTENSION_NAMESPACE::slist<T,AllocT> >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
#if BOOST_WORKAROUND( __IBMCPP__, <= 600 )
|
#if BOOST_WORKAROUND( __IBMCPP__, <= 600 )
|
||||||
|
Reference in New Issue
Block a user