Skip to content
Snippets Groups Projects
Verified Commit bc077115 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

[doc] BitSetVectorReference: document `operator[]` and `set` [ci skip]

They are not included in the generated API documentation otherwise.
parent 20a45430
Branches
Tags
1 merge request!588BitSetVectorReference: add documentation and implement `reset()`
......@@ -124,6 +124,7 @@ namespace Dune {
return getBit(n);
}
//! Return reference to the `i`-th bit
const_reference operator[](size_type i) const
{
return getBit(i);
......@@ -359,7 +360,7 @@ namespace Dune {
return *this;
}
// Sets every bit.
//! Sets every bit.
BitSetVectorReference& set()
{
for (size_type i=0; i<block_size; i++)
......@@ -403,6 +404,7 @@ namespace Dune {
using BitSetVectorConstReference::test;
using BitSetVectorConstReference::operator[];
//! Return reference to the `i`-th bit
reference operator[](size_type i)
{
return getBit(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment