1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/util/StringTo.h
10 #ifndef AesalonUtil_StringTo_H
11 #define AesalonUtil_StringTo_H
17 template<typename Type
>
18 Type
StringTo(const std::string
&string
) {
19 if(string
== "") return Type();
20 std::istringstream
ss(string
);