Commit Graph

125 Commits

Author SHA1 Message Date
Gennaro Prota
7530a40476 dynamic_bitset: changed a using directive to a set of using declarations, in the hope that this will fix regressions of Intel and others; (very minor) changed comment text
[SVN r48663]
2008-09-08 10:10:02 +00:00
Gennaro Prota
c05a47b50d dynamic_bitset:
* added user-declared default constructor to value_to_type<bool> (yeah, the
      usual "initializing a const instance of an empty class" problem, which
      also affected S. Meyers' null)
    * explicitly qualified occurrence of "bits_per_block" in count() member
      function, to let gcc 3.4.x understand that it *is* a constant expression
    * fixed namespace qualification for vector_max_size_workaround (should've
      been done in the previous commit, sorry)


[SVN r48496]
2008-08-31 11:53:45 +00:00
Gennaro Prota
d09c7d2180 dynamic_bitset:
* fixed form of some remaining copyright lines
    * using namespace detail::dynamic_bitset_impl for *all* implementation
      details (dynamic_bitset_*count*_impl removed) and consequently shortened
      some entity names
    * switched from enum to bools for "enum mode", to help several compilers
      which show problems with recognizing access_by_bytes and access_by_blocks
      as constant expressions
    * minor comment changes
    * implemented the do-the-right-thing dispatch for constructor from
      iterator-range, a la standard sequence containers (feature request #2172)
    * dropped now useless comparison with zero in reference constructor

NOTE:
    updated tests and documentation not committed yet; let's wait for the trunk
    results first


[SVN r48478]
2008-08-30 18:00:30 +00:00
Gennaro Prota
d80a9dbdf8 dynamic_bitset: tentative code reworking in count() member function, to help gcc 3.4.6 on Sandia-sun, which seems to have troubles with a simple constant expression of enumeration type (see <http://www.boost.org/development/tests/trunk/developer/dynamic_bitset_.html>)
[SVN r48280]
2008-08-21 11:49:12 +00:00
Gennaro Prota
15b61f694a dynamic_bitset:
* clean up and fix of copyright notices for the include files that are directly under boost/
    * parenthesized a couple of macro names in boost/dynamic_bitset/config.hpp
      (yeah, a bit paranoid, I know :-))
    * removed some superfluous comments and enclosed an url in angle brackets
    * changed block_width_type, to avoid a few level 4 warnings with MSVC++
    * added the usual private-and-non-implemented copy members to bit_appender
    * removed useless #pragma warning(disable:4996) for MSVC++ (it should have
      been eventually applied to much more places than it was; and, anyhow, the
      only sensible way to get rid of the warning is to disable it globally)
    * slight tweak in to_ulong (assert moved a bit earlier)


[SVN r48252]
2008-08-20 11:16:16 +00:00
Gennaro Prota
eef25927d7 integer_log2.hpp and lowest_bit.hpp, in boost/pending/: little comment cleanup (svn anchors, etc.); added a static_cast<> to silence (harmless) MSVC++ warnings
[SVN r48251]
2008-08-20 11:06:23 +00:00
Gennaro Prota
aa6053121c dynamic_bitset: cleaner implementation of to_ulong (which should also avoid some warnings on 64-bit implementations)
[SVN r47401]
2008-07-13 19:38:48 +00:00
Gennaro Prota
5d66eda2ac dynamic_bitset: removed svn keywords and anchors; removed useless "see ... for documentation" pointers; fixed copyright notices and made all "comment headers" consistent; cleaned up trailing whitespaces
[SVN r47392]
2008-07-13 19:08:31 +00:00
Boris Gubenko
717fb80e40 compute 'result' in to_ulong() as it is done in Boost 1.34
[SVN r41778]
2007-12-06 10:47:52 +00:00
Frederick Akalin
41e1f468d3 added pragma to shut up warning for std::fill_n
[SVN r35066]
2006-09-11 02:23:00 +00:00
Gennaro Prota
60375651d9 identification
[SVN r34905]
2006-08-19 11:04:25 +00:00
Gennaro Prota
50ffc7be59 (minor) oops in previous edit
[SVN r34904]
2006-08-19 10:55:07 +00:00
Gennaro Prota
02f4b61f14 identification
[SVN r34903]
2006-08-19 10:52:24 +00:00
Gennaro Prota
07b5b85dfe some cleanup (beware: not compiled)
[SVN r34883]
2006-08-13 15:08:24 +00:00
Gennaro Prota
2726ad0c3c updated copyright notice (years); added slash to doc url; introduced shifter<> template, for the implementation of the constructor from ulong
[SVN r34396]
2006-06-25 19:05:46 +00:00
Gennaro Prota
30bd2e5bab updated copyright notice (years); added slash to doc url; reworded some comments
[SVN r34395]
2006-06-25 18:58:27 +00:00
Gennaro Prota
38f7aa5d40 updated copyright notice (years); added slash to doc url; used <assert.h> instead of <cassert>; added assert in reference constructor; clarified some comments; removed superfluos Allocator parameter from init_from_string(); improved constructor from unsigned long, push_back(bool), to_ulong(), is_proper_subset_of(), operator <(); cleanup
[SVN r34394]
2006-06-25 18:54:35 +00:00
Gennaro Prota
48aaaabed2 init_from_string() doesn't need the alloc parameter; usual style for BOOST_WORKAROUNDs
[SVN r34303]
2006-06-14 17:33:31 +00:00
Gennaro Prota
9c0620b7f9 use our usual -Wundef compatible form for IBM's AIX workaround; added a comment pointing out that the compiler is actually right
[SVN r34115]
2006-05-29 17:43:42 +00:00
Gennaro Prota
30b986e549 to_ulong function cleanup (including removal of a superfluous if test)
[SVN r34114]
2006-05-29 17:12:25 +00:00
Markus Schöpflin
896a792bec Workaround for IBM's compiler on AIX.
[SVN r32101]
2005-12-19 10:00:51 +00:00
Rene Rivera
e85ab3cb63 Add workaround for CW8 when it compiles reset(), as it generates invalid code otherwise.
[SVN r24319]
2004-08-06 06:56:13 +00:00
Douglas Gregor
f4eefb6abb dynamic_bitset.hpp: Split the string constructor, which causes problems on the
msvc-stlport toolset, into two separate constructors to avoid the npos issue.


[SVN r24179]
2004-07-30 04:41:57 +00:00
Gennaro Prota
e2529a0423 settled macros to cope with the absence of std::locale on some platforms/configurations
[SVN r23886]
2004-07-21 09:23:17 +00:00
Gennaro Prota
7d3869d208 use boost::detail::distance instead of std::distance
[SVN r23025]
2004-06-05 08:45:02 +00:00
Gennaro Prota
f4073fc6aa - added a missing #include (climits)
- extended usage of BOOST_BITSET_CHAR to accomodate libraries with no locale support (MWCW with _MSL_NO_LOCALE)
- untabified


[SVN r22972]
2004-05-30 09:40:25 +00:00
Gennaro Prota
c688bf1763 changed workaround for gcc bug nr. 8419
[SVN r22771]
2004-05-09 09:21:33 +00:00
Gennaro Prota
e6ca3c67c4 use division by 2 instead of >>=1, because Borland C++ yields sometimes an access violation when shifting with Block = unsigned long long
[SVN r22768]
2004-05-09 07:48:12 +00:00
Gennaro Prota
3af18952b3 just aligned a backslash
[SVN r22703]
2004-04-25 09:03:10 +00:00
Gennaro Prota
a1cc5de6eb removed #undef for BOOST_OLD_IOSTREAMS
[SVN r22702]
2004-04-25 08:54:14 +00:00
Gennaro Prota
0d8327315c moved more config stuff to here
[SVN r22690]
2004-04-24 08:48:36 +00:00
Gennaro Prota
99035b25ac removed config stuff
[SVN r22689]
2004-04-24 08:48:03 +00:00
Gennaro Prota
7068fe4b24 removed make_non_const() workaround, now useless
[SVN r22688]
2004-04-24 08:38:55 +00:00
Gennaro Prota
9ce38213e4 config stuff
[SVN r22687]
2004-04-24 08:36:46 +00:00
Gennaro Prota
e03aea94d9 moved config stuff to its own file and changed workaround for gcc bug 8419, as the former workaround gave problems with some compilers (e.g. VACPP for AIX)
[SVN r22686]
2004-04-24 08:35:42 +00:00
Gennaro Prota
760839ff10 new file (needed by dynamic_bitset)
[SVN r22651]
2004-04-18 09:15:08 +00:00
Gennaro Prota
6e9450562e new version (from the sandbox)
[SVN r22648]
2004-04-18 09:11:17 +00:00
Gennaro Prota
e445e12e06 new version (the actual code, from the sandbox, is in dynamic_bitset/dynamic_bitset.hpp)
[SVN r22647]
2004-04-18 09:07:24 +00:00
Eric Niebler
f66792a57d remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
2004-02-26 18:27:02 +00:00
Jens Maurer
702e7dd26b remove unused variable
[SVN r18997]
2003-07-09 19:41:40 +00:00
Gennaro Prota
c3ecab1edc Eliminated tabs and spaces at EOL
[SVN r17561]
2003-02-20 18:51:35 +00:00
Gennaro Prota
2588fb047a Merged changes from the 1.29.0 branch
[SVN r17560]
2003-02-20 18:27:20 +00:00
Björn Karlsson
571ea640e1 Untabified
[SVN r17190]
2003-02-04 09:10:50 +00:00
Beman Dawes
6fc5896e72 add or update See www.boost.org comments
[SVN r16708]
2002-12-27 16:51:53 +00:00
Beman Dawes
a5cad3ad88 Add /libs/lib-name to comment
[SVN r16685]
2002-12-23 02:43:12 +00:00
Beman Dawes
f4a45420c0 fix from Jason Shirk
[SVN r16395]
2002-11-25 01:35:01 +00:00
Björn Karlsson
4dbeae0c34 Added copyright statement
[SVN r16338]
2002-11-20 10:26:29 +00:00
Jeremy Siek
8424ddf9aa Removed __BORLANDC__ from the #if around the basic_string
constructor. Luckily the fix by GP for g++ also fixes Borland. [JGS]


[SVN r15806]
2002-10-08 15:51:35 +00:00
Jeremy Siek
644da01f9c fixed friend issue in dump_to_string and added this-> in set_block_
[SVN r15794]
2002-10-07 22:14:03 +00:00
Jeremy Siek
d02ea45d32 added this-> in more places
[SVN r15788]
2002-10-07 18:58:17 +00:00
Jeremy Siek
43a44321d0 updated to match bugfixes from the release branch
[SVN r15784]
2002-10-07 18:29:03 +00:00
Jeremy Siek
946403a28d some bug fixes
[SVN r15718]
2002-10-04 19:48:50 +00:00
Dave Abrahams
892d1a8341 2-phase lookup bug fixes
[SVN r15328]
2002-09-15 04:34:25 +00:00
Jeremy Siek
5be07705a1 changed num_blocks to calc_num_blocks
[SVN r15134]
2002-09-02 15:36:59 +00:00
Jeremy Siek
f54ca5fd0f added num_blocks()
[SVN r15133]
2002-09-02 15:30:25 +00:00
Jeremy Siek
ffb95ec996 made from_string public for good
[SVN r14979]
2002-08-20 00:32:22 +00:00
Jeremy Siek
291988fb0d *** empty log message ***
[SVN r14967]
2002-08-19 22:06:16 +00:00
Jeremy Siek
cf7916a4de *** empty log message ***
[SVN r14966]
2002-08-19 21:52:04 +00:00
Jeremy Siek
bf79df4951 fixes for Intel C++, and maybe Borland too
[SVN r14946]
2002-08-18 17:09:06 +00:00
Jeremy Siek
8715e08492 moved some stuff into here
[SVN r14930]
2002-08-16 16:39:33 +00:00
Jeremy Siek
cdf05bad85 moved more stuff to the detail file
[SVN r14929]
2002-08-16 16:39:19 +00:00
Jeremy Siek
98472e20f0 hopeful VC++7 workaround
[SVN r14866]
2002-08-14 23:21:54 +00:00
Jeremy Siek
0bbf122df2 removed comment
[SVN r14865]
2002-08-14 23:04:35 +00:00
Jeremy Siek
bdbd33b4cc changed to use BOOST_NO_MEMBER_TEMPLATE_FRIENDS
[SVN r14864]
2002-08-14 23:01:35 +00:00
Jeremy Siek
cdf3cb1e0c added more to comment
[SVN r14850]
2002-08-14 20:12:20 +00:00
Jeremy Siek
92b7915915 removed commented code in operator==
[SVN r14842]
2002-08-14 16:47:45 +00:00
Jeremy Siek
2342e9bf59 more optimizations and changes from Gennaro
[SVN r14841]
2002-08-14 16:46:18 +00:00
Jeremy Siek
4ad8b055d6 no change
[SVN r14661]
2002-08-01 16:16:02 +00:00
Jeremy Siek
1a047c3f9c new optimized count() implementation
[SVN r14657]
2002-08-01 15:54:32 +00:00
Jeremy Siek
681ceee9b7 new file, moved detail stuff into detail directory
[SVN r14656]
2002-08-01 15:54:08 +00:00
Jeremy Siek
0779163118 changes from Gennaro Prota
[SVN r14655]
2002-08-01 15:33:47 +00:00
Jeremy Siek
b7a1cac5e6 fixed operator-= and operator-
[SVN r14648]
2002-07-30 22:35:12 +00:00
Jeremy Siek
ea042ec75d changed to private inheritance
[SVN r14642]
2002-07-30 16:00:57 +00:00
Jeremy Siek
5576614536 added operator-
[SVN r14638]
2002-07-30 00:53:45 +00:00
Jeremy Siek
270afe16e7 new files
[SVN r14498]
2002-07-17 16:21:43 +00:00