![]() |
NEURON
|
#include <cstdio>#include <utility>#include <stdexcept>#include <assert.h>Go to the source code of this file.
Namespaces | |
| neuron | |
| In mechanism libraries, cannot use auto const token = nrn_ensure_model_data_are_sorted(); because the return type is incomplete (from include/neuron/model_data.hpp). | |
Functions | |
| template<std::size_t N, typename... Args> | |
| int | neuron::Sprintf (char(&buf)[N], const char *fmt, Args &&... args) |
| Redirect sprintf to snprintf if the buffer size can be deduced. More... | |
| template<std::size_t N, typename... Args> | |
| void | neuron::SprintfAsrt (char(&buf)[N], const char *fmt, Args &&... args) |
| assert if the Sprintf format data does not fit into buf More... | |