Nemo  2.3.46
bitstring.h File Reference
#include <bitset>
#include <assert.h>
#include <limits.h>
#include <string.h>
#include <iostream>

Go to the source code of this file.


class  bitstring
 Non-template and faster implementation of std::bitset. More...
class  bitstring::reference


#define BITS_PER_WORD   (CHAR_BIT*sizeof(unsigned long))
#define BITSET_WORDS(__n)   ((__n) < 1 ? 1 : ((__n) + BITS_PER_WORD - 1)/BITS_PER_WORD)

Detailed Description

bitstring.h,v 1.11 2015-07-13 08:52:58 fred Exp


Copyright (C) 2006-2015 Frederic Guillaume

This file is part of Nemo

Nemo is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Nemo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Macro Definition Documentation

#define BITSET_WORDS (   __n)    ((__n) < 1 ? 1 : ((__n) + BITS_PER_WORD - 1)/BITS_PER_WORD)

Referenced by bitstring::copy().

Generated for Nemo v2.3.0 by  doxygen 1.8.8 --
Catalogued on GSR