- THROWF(bound_error, idx, "dynar is not that long. You asked %d, but it's only %lu long",
- idx, static_cast<unsigned long>(dynar->used));
+ throw std::out_of_range(simgrid::xbt::string_printf("dynar is not that long. You asked %d, but it's only %lu long",
+ idx, static_cast<unsigned long>(dynar->used)));