mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
23 lines
326 B
C++
23 lines
326 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace villas {
|
|
namespace utils {
|
|
|
|
std::vector<std::string>
|
|
tokenize(std::string s, std::string delimiter);
|
|
|
|
|
|
template<typename T>
|
|
void
|
|
assertExcept(bool condition, const T& exception)
|
|
{
|
|
if(not condition)
|
|
throw exception;
|
|
}
|
|
|
|
} // namespace utils
|
|
} // namespace villas
|
|
|