clang-format
This commit is contained in:
		@@ -5,15 +5,13 @@
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <sstream>
 | 
			
		||||
#include <iomanip>
 | 
			
		||||
#include <locale>
 | 
			
		||||
#include <sstream>
 | 
			
		||||
 | 
			
		||||
namespace utils
 | 
			
		||||
{
 | 
			
		||||
namespace utils {
 | 
			
		||||
 | 
			
		||||
template<typename T>
 | 
			
		||||
inline std::string format(const T& value)
 | 
			
		||||
template <typename T> inline std::string format(const T &value)
 | 
			
		||||
{
 | 
			
		||||
    static std::locale loc("");
 | 
			
		||||
    std::stringstream ss;
 | 
			
		||||
@@ -22,8 +20,7 @@ inline std::string format(const T& value)
 | 
			
		||||
    return ss.str();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
template<>
 | 
			
		||||
inline std::string format(const double & value)
 | 
			
		||||
template <> inline std::string format(const double &value)
 | 
			
		||||
{
 | 
			
		||||
    static std::locale loc("");
 | 
			
		||||
    std::stringstream ss;
 | 
			
		||||
@@ -32,4 +29,4 @@ inline std::string format(const double & value)
 | 
			
		||||
    return ss.str();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
} // namespace utils
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user