crocoddyl
1.5.0
Contact RObot COntrol by Differential DYnamic programming Library (Crocoddyl)
to-string.hpp
1
// BSD 3-Clause License
3
//
4
// Copyright (C) 2018-2020, University of Edinburgh
5
// Copyright note valid unless otherwise stated in individual files.
6
// All rights reserved.
8
9
#if __cplusplus < 201103L
10
#ifndef CROCODDYL_CORE_UTILS_TO_STRING_HPP_
11
#define CROCODDYL_CORE_UTILS_TO_STRING_HPP_
12
13
#include <sstream>
14
15
namespace
std
{
16
17
template
<
typename
T>
18
std::string to_string(T number) {
19
std::ostringstream ss;
20
ss << number;
21
return
ss.str();
22
}
23
24
}
// namespace std
25
26
#endif // CROCODDYL_CORE_UTILS_TO_STRING_HPP_
27
#endif // __cplusplus__ >= 201103L
std
Definition:
to-string.hpp:15
include
crocoddyl
core
utils
to-string.hpp
Generated by
1.8.13