Removed tabs, fixed end of files.

[SVN r13803]
This commit is contained in:
John Maddock 2002-05-10 11:35:38 +00:00
parent 333d79b345
commit 6b8b218efb

View File

@ -98,21 +98,21 @@ struct call_traits_chooser<false, false, true>
template <bool size_is_small> template <bool size_is_small>
struct call_traits_sizeof_chooser2 struct call_traits_sizeof_chooser2
{ {
template <class T> template <class T>
struct small_rebind struct small_rebind
{ {
typedef simple_call_traits<T> small_type; typedef simple_call_traits<T> small_type;
}; };
}; };
template<> template<>
struct call_traits_sizeof_chooser2<false> struct call_traits_sizeof_chooser2<false>
{ {
template <class T> template <class T>
struct small_rebind struct small_rebind
{ {
typedef standard_call_traits<T> small_type; typedef standard_call_traits<T> small_type;
}; };
}; };
template <> template <>
@ -121,10 +121,10 @@ struct call_traits_chooser<false, true, false>
template <class T> template <class T>
struct rebind struct rebind
{ {
enum { sizeof_choice = (sizeof(T) <= sizeof(void*)) }; enum { sizeof_choice = (sizeof(T) <= sizeof(void*)) };
typedef call_traits_sizeof_chooser2<(sizeof(T) <= sizeof(void*))> chooser; typedef call_traits_sizeof_chooser2<(sizeof(T) <= sizeof(void*))> chooser;
typedef typename chooser::template small_rebind<T> bound_type; typedef typename chooser::template small_rebind<T> bound_type;
typedef typename bound_type::small_type type; typedef typename bound_type::small_type type;
}; };
}; };
@ -138,8 +138,8 @@ private:
::boost::is_arithmetic<T>::value, ::boost::is_arithmetic<T>::value,
::boost::is_reference<T>::value ::boost::is_reference<T>::value
> chooser; > chooser;
typedef typename chooser::template rebind<T> bound_type; typedef typename chooser::template rebind<T> bound_type;
typedef typename bound_type::type call_traits_type; typedef typename bound_type::type call_traits_type;
public: public:
typedef typename call_traits_type::value_type value_type; typedef typename call_traits_type::value_type value_type;
typedef typename call_traits_type::reference reference; typedef typename call_traits_type::reference reference;