File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,6 @@ class base_uint
64
64
65
65
explicit base_uint (const std::string& str);
66
66
67
- bool operator !() const
68
- {
69
- for (int i = 0 ; i < WIDTH; i++)
70
- if (pn[i] != 0 )
71
- return false ;
72
- return true ;
73
- }
74
-
75
67
const base_uint operator ~() const
76
68
{
77
69
base_uint ret;
Original file line number Diff line number Diff line change @@ -198,13 +198,6 @@ BOOST_AUTO_TEST_CASE( shifts ) { // "<<" ">>" "<<=" ">>="
198
198
199
199
BOOST_AUTO_TEST_CASE ( unaryOperators ) // ! ~ -
200
200
{
201
- BOOST_CHECK (!ZeroL);
202
- BOOST_CHECK (!(!OneL));
203
- for (unsigned int i = 0 ; i < 256 ; ++i)
204
- BOOST_CHECK (!(!(OneL<<i)));
205
- BOOST_CHECK (!(!R1L));
206
- BOOST_CHECK (!(!MaxL));
207
-
208
201
BOOST_CHECK (~ZeroL == MaxL);
209
202
210
203
unsigned char TmpArray[32 ];
You can’t perform that action at this time.
0 commit comments