add attention about the string_to interface usage
authorGerd von Egidy <gerd.von.egidy@intra2net.com>
Wed, 16 Dec 2015 09:13:53 +0000 (10:13 +0100)
committerGerd von Egidy <gerd.von.egidy@intra2net.com>
Wed, 16 Dec 2015 09:13:53 +0000 (10:13 +0100)
src/stringfunc.hxx

index 673ee7c..b91a18f 100644 (file)
@@ -167,6 +167,8 @@ T string_to(const std::string& s)
  * @param s the string which should be converted to @a T.
  * @param result the resulting value of type @a T.
  * @return @a true iff the internal string stream was EOF after the conversion.
+ *
+ * @attention: does not return if the conversion was successful. So check for empty strings before.
  */
 template<
 class T