提交 6b3a2d39 编写于 作者: V Vincent Rabaud

- add the clear function

上级 b4bfc2ca
......@@ -67,7 +67,14 @@ public:
reset();
}
/** @param checks if the bitset is empty
/** Sets all the bits to 0
*/
void clear()
{
std::fill(bitset_.begin(), bitset_.end(), 0);
}
/** @brief checks if the bitset is empty
* @return true if the bitset is empty
*/
bool empty() const
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册