|
timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
|
#include <functional>#include <sstream>#include <stdexcept>#include <string>#include <vector>
Include dependency graph for delimit.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | tim |
Functions | |
| template<typename T > | |
| T | tim::from_string (const std::string &str) |
| template<typename T > | |
| T | tim::from_string (const char *cstr) |
| template<typename ContainerT = std::vector<std::string>, typename PredicateT = std::function<std::string(const std::string&)>> | |
| ContainerT | tim::delimit (const std::string &line, const std::string &delimiters="\"',;: ", PredicateT &&predicate=[](const std::string &s) -> std::string { return s;}) |
| template<typename PredicateT = std::function<std::string(const std::string&)>> | |
| std::string | tim::str_transform (const std::string &input, const std::string &_begin, const std::string &_end, PredicateT &&predicate) |
| apply a string transformation to substring inbetween a common delimiter. e.g. More... | |