Ceetron Data Provider Framework
CDPUtils.h
1 //##################################################################################################
2 //
3 // Ceetron Data Provider Framework
4 //
5 // --------------------------------------------------------------------------------------------
6 // Copyright (C) 2018, Ceetron AS
7 //##################################################################################################
8 
9 #pragma once
10 
11 #include <string>
12 #include <sstream>
13 
14 
15 //==================================================================================================
16 //
17 //
18 //
19 //==================================================================================================
20 class CDPUtils
21 {
22 public:
23  inline static std::string compilerInfoString();
24 
25  template<typename T>
26  static std::string toStdString(const T& value);
27 };
28 
29 
30 #include "CDPUtils.inl"
31 
static std::string toStdString(const T &value)
Convert the given value to a std::string.
Definition: CDPUtils.inl:20
Definition: CDPUtils.h:20
static std::string compilerInfoString()
Returns a string identifying the current compiler.
Definition: CDPUtils.inl:30