#include <bit_array_impl.h>
Definition at line 137 of file bit_array_impl.h.
bit_array_one::bit_array_one |
( |
t_size |
p_val | ) |
|
|
inline |
Returns the first occurance of val between start and start+count (excluding start+count), or start+count if not found; count may be negative to search back rather than forward.
Can be overridden by bit_array implementations for improved speed in specific cases.
Reimplemented from pfc::bit_array.
Definition at line 144 of file bit_array_impl.h.
146 if (count==0)
return start;
150 return (
val>=start &&
val<start+count) ?
val : start+count;
152 return (val<=start && val>start+count) ?
val : start+count;
156 if (start ==
val)
return count>0 ? start+1 : start-1;
virtual bool bit_array_one::get |
( |
t_size |
n | ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: