Compare commits

...

4 Commits

Author SHA1 Message Date
3ce98c0cfd This commit was manufactured by cvs2svn to create tag
'Version_1_28_0'.

[SVN r13949]
2002-05-16 13:26:18 +00:00
d6ee388176 stripped tabs from files.
[SVN r13817]
2002-05-11 10:54:40 +00:00
5473cbc8e7 Bug fix thanks to "Steve M. Robbins" <steven.robbins@videotron.ca>
[SVN r13814]
2002-05-10 20:31:10 +00:00
bcd954e3b9 This commit was manufactured by cvs2svn to create branch 'RC_1_28_0'.
[SVN r13795]
2002-05-10 04:34:27 +00:00
2 changed files with 17 additions and 17 deletions

View File

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

View File

@ -362,7 +362,7 @@ typedef iterator_adaptor&lt;foo_iterator, foo_policies,
<td>increments the iterator
<td><tt>++p</tt>, <tt>p++</tt>
<td><tt>++x</tt>, <tt>x++</tt>
<tr>
<td nowrap><tt>p.decrement(x)</tt>