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

Merge branch 'feature/basearray-add-data-accessor' into 'master'

Add `data()` accessor methods

See merge request !99
parents 7a72f85e 9324efe9
No related branches found
No related tags found
1 merge request!99Add `data()` accessor methods
Pipeline #
......@@ -247,6 +247,18 @@ namespace Imp {
return n;
}
//! Returns pointer to the underlying array
const B* data() const
{
return p;
}
//! Returns pointer to the underlying array
B* data()
{
return p;
}
protected:
//! makes empty array
base_array_unmanaged ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment