Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-04-16 10:45:58


AMDG

Phil Bouchard wrote:
> "Steven Watanabe" <watanabesj_at_[hidden]> wrote in message
> news:48051355.3010309_at_providere-consulting.com...
>
>> You should probably use (std::numeric_limits<>::min)() which
>> disables macro expansion. Otherwise, the inspection program will
>> complain.
>>
>
> Res gestae.
>

Ok. Now it compiles. Some comments on the documentation.

"Memory usage having a power of 2 (sizeof(void *) * 2)"
What does this mean?

The use of the term "cubic" always catches me because I automatically
associate it with O(n^3) which is not what you mean.

It would also be nice to know what kinds of cycles it doesn't handle.

Finally, here are the warnings from msvc 9.0 /w4

Warning 1 warning C4355: 'this' : used in base member initializer
list c:\documents and settings\steven\my
documents\vendor\boost\shifted_ptr\shifted_ptr\boost\detail\intrusive_list.hpp
39
Warning 2 warning C4355: 'this' : used in base member initializer
list c:\documents and settings\steven\my
documents\vendor\boost\shifted_ptr\shifted_ptr\boost\detail\intrusive_list.hpp
39
Warning 3 warning C4100: 'ti' : unreferenced formal parameter
c:\documents and settings\steven\my
documents\vendor\boost\shifted_ptr\shifted_ptr\boost\detail\sh_owned_base_nt.hpp
206
Warning 4 warning C4099: 'boost::detail::sh::owned_base' : type
name first seen using 'class' now seen using 'struct' c:\documents
and settings\steven\my
documents\vendor\boost\shifted_ptr\shifted_ptr\boost\shifted_ptr.hpp 42
Warning 5 warning C4355: 'this' : used in base member initializer
list c:\documents and settings\steven\my
documents\vendor\boost\shifted_ptr\shifted_ptr\boost\shifted_ptr.hpp 61
Warning 6 warning C4100: 'other' : unreferenced formal
parameter c:\documents and settings\steven\my documents\visual studio
2008\projects\shifted_ptr\shifted_ptr\shifted_ptr.cpp 38
Warning 7 warning C4244: 'argument' : conversion from 'int' to
'unsigned short', possible loss of data c:\documents and
settings\steven\my
documents\boost\boost\date_time\microsec_time_clock.hpp 179
Warning 8 warning C4244: 'argument' : conversion from 'int' to
'unsigned short', possible loss of data c:\documents and
settings\steven\my
documents\boost\boost\date_time\microsec_time_clock.hpp 179
Warning 9 warning C4244: 'argument' : conversion from 'int' to
'unsigned short', possible loss of data c:\documents and
settings\steven\my
documents\boost\boost\date_time\microsec_time_clock.hpp 179
Warning 10 warning C4100: 'ti' : unreferenced formal parameter
c:\documents and settings\steven\my
documents\vendor\boost\shifted_ptr\shifted_ptr\boost\detail\sh_owned_base_nt.hpp
136
Warning 11 warning C4100: 'ti' : unreferenced formal parameter
c:\documents and settings\steven\my
documents\vendor\boost\shifted_ptr\shifted_ptr\boost\detail\sh_owned_base_nt.hpp
136
Warning 12 warning C4512:
'boost::algorithm::detail::find_format_store<ForwardIteratorT,FormatterT,FormatResultT>'
: assignment operator could not be generated c:\documents and
settings\steven\my
documents\boost\boost\algorithm\string\detail\find_format_store.hpp 65

You may just have to #pragma warning push/pop disable 4355

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk