Go to the documentation of this file.
24 inline void erase_all(std::string &
string,
const std::string &search) {
26 for (
size_t pos = 0;;) {
27 pos =
string.find(search,
pos);
28 if (
pos == std::string::npos) {
31 string.erase(
pos, search.length());
38 std::unique_ptr<char, void (*)(
void *)>
res{
39 abi::__cxa_demangle(
name.c_str(),
nullptr,
nullptr, &status), std::free};
52 std::string
name(typeid_name);
Annotation for function names.
void erase_all(std::string &string, const std::string &search)
Erase all occurrences of a substring.
PYBIND11_NOINLINE void clean_type_id(std::string &name)
#define PYBIND11_NAMESPACE_END(name)
#define PYBIND11_NOINLINE
#define PYBIND11_NAMESPACE_BEGIN(name)
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
static std::string type_id()
Return a string representation of a C++ type.
A small structure to hold a non zero as a triplet (i,j,value).
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:37