Function set
Synopsis
#include <include/EASTL/bitvector.h>
void set(size_type n, bool value)
Description
No description yet.
Source
Lines 1023-1030 in include/EASTL/bitvector.h. Line 289 in include/EASTL/bitvector.h.
template <typename Allocator, typename Element, typename Container>
void bitvector<Allocator, Element, Container>::set(size_type n, bool value)
{
if(EASTL_UNLIKELY(n >= size()))
resize(n + 1);
*(begin() + (difference_type)n) = value;
}