ConcatID.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace armarx::meta::cfg
6{
7 inline std::string
8 ConcatID(const std::string& prefix, const std::string& suffix)
9 {
10 static const std::string delim{"_"};
11 return prefix.empty() ? suffix : prefix + delim + suffix;
12 }
13} // namespace armarx::meta::cfg
std::string ConcatID(const std::string &prefix, const std::string &suffix)
Definition ConcatID.h:8