Function bitvector
Summary
#include <include/EASTL/bitvector.h>
(1) bitvector()
(2) explicit bitvector(const allocator_type &allocator)
(3) explicit bitvector(size_type n, const allocator_type &allocator=EASTL_BITVECTOR_DEFAULT_ALLOCATOR)
(4) bitvector(size_type n, value_type value, const allocator_type &allocator=EASTL_BITVECTOR_DEFAULT_ALLOCATOR)
(5) bitvector(const bitvector ©)
(6) template <typename InputIterator>
bitvector(InputIterator first, InputIterator last)
Function overload
Synopsis
#include <include/EASTL/bitvector.h>
bitvector()
Description
No description yet.
Source
Lines 1351-1356 in include/EASTL/bitvector.h. Line 239 in include/EASTL/bitvector.h.
template <typename Allocator, typename Element, typename Container>
bitvector<Allocator, Element, Container>::bitvector()
: mContainer(),
mFreeBitCount(0)
{
}
Synopsis
#include <include/EASTL/bitvector.h>
explicit bitvector(const allocator_type &allocator)
Description
No description yet.
Source
Lines 1359-1364 in include/EASTL/bitvector.h. Line 240 in include/EASTL/bitvector.h.
template <typename Allocator, typename Element, typename Container>
bitvector<Allocator, Element, Container>::bitvector(const allocator_type& allocator)
: mContainer(allocator),
mFreeBitCount(0)
{
}
Synopsis
#include <include/EASTL/bitvector.h>
explicit bitvector(size_type n, const allocator_type &allocator=EASTL_BITVECTOR_DEFAULT_ALLOCATOR)
Description
No description yet.
Source
Lines 1367-1375 in include/EASTL/bitvector.h. Line 241 in include/EASTL/bitvector.h.
template <typename Allocator, typename Element, typename Container>
bitvector<Allocator, Element, Container>::bitvector(size_type n, const allocator_type& allocator)
: mContainer((n + kBitCount - 1) / kBitCount, allocator)
{
mFreeBitCount = kBitCount - (n % kBitCount);
if(mFreeBitCount == kBitCount)
mFreeBitCount = 0;
}
Synopsis
#include <include/EASTL/bitvector.h>
bitvector(size_type n, value_type value, const allocator_type &allocator=EASTL_BITVECTOR_DEFAULT_ALLOCATOR)
Description
No description yet.
Source
Lines 1378-1386 in include/EASTL/bitvector.h. Line 242 in include/EASTL/bitvector.h.
template <typename Allocator, typename Element, typename Container>
bitvector<Allocator, Element, Container>::bitvector(size_type n, value_type value, const allocator_type& allocator)
: mContainer((n + kBitCount - 1) / kBitCount, value ? ~element_type(0) : element_type(0), allocator)
{
mFreeBitCount = kBitCount - (n % kBitCount);
if(mFreeBitCount == kBitCount)
mFreeBitCount = 0;
}
Synopsis
#include <include/EASTL/bitvector.h>
bitvector(const bitvector ©)
Description
No description yet.
Source
Lines 1389-1394 in include/EASTL/bitvector.h. Line 243 in include/EASTL/bitvector.h.
template <typename Allocator, typename Element, typename Container>
bitvector<Allocator, Element, Container>::bitvector(const bitvector& copy)
: mContainer(copy.mContainer),
mFreeBitCount(copy.mFreeBitCount)
{
}
Synopsis
#include <include/EASTL/bitvector.h>
template <typename InputIterator>
bitvector(InputIterator first, InputIterator last)
Description
No description yet.
Source
Lines 1397-1404 in include/EASTL/bitvector.h. Line 246 in include/EASTL/bitvector.h.
template <typename Allocator, typename Element, typename Container>
template <typename InputIterator>
bitvector<Allocator, Element, Container>::bitvector(InputIterator first, InputIterator last)
: mContainer(),
mFreeBitCount(0)
{
assign(first, last);
}