NEURON
formatting.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <fmt/format.h>
4
5
#include "
oc_ansi.h
"
6
7
template
<
typename
... T>
8
[[noreturn]]
void
hoc_execerror_fmt
(
const
char
* fmt, T&&... args) {
9
auto
s
= fmt::format(fmt::runtime(fmt), std::forward<T>(args)...);
10
hoc_execerror
(
s
.c_str(),
nullptr
);
11
}
hoc_execerror_fmt
void hoc_execerror_fmt(const char *fmt, T &&... args)
Definition:
formatting.hpp:8
coreneuron::hoc_execerror
void hoc_execerror(const char *s1, const char *s2)
Definition:
nrnoc_aux.cpp:39
s
s
Definition:
multisend.cpp:521
oc_ansi.h
HOC interpreter function declarations (included by hocdec.h)
src
utils
formatting.hpp