18 #include "indexing_example.hpp" 25 Dummy_Container::Dummy_Container() : m_v(9) {
37 size_t Dummy_Container::get_nel()
const {
41 double Dummy_Container::get_el_at(
size_t i)
const {
42 if (i >= m_v.size())
throw out_of_range(
"Index out of range");
46 void Dummy_Container::set_el_at(
size_t i,
double val) {
47 if (i >= m_v.size())
throw out_of_range(
"Index out of range");
Namespace of all Michele De Stefano's C++ Python utilities.