]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Clarify when we actually call to std::to_string. 9409/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 23 Jan 2020 00:08:10 +0000 (17:08 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 23 Jan 2020 00:08:10 +0000 (17:08 -0700)
include/deal.II/base/utilities.h

index ee8f401a702f24ab3984f74921afc9fd2edcd5fc..7dbb309b0ee3568586ffdf24476fb1a684d326e7 100644 (file)
@@ -204,7 +204,8 @@ namespace Utilities
    *
    * If the second parameter is left at its default value, the number is not
    * padded with leading zeros. The result is then the same as if the C++
-   * function `std::to_string()` had been called.
+   * function `std::to_string()` had been called (for integral types),
+   * or if `boost::lexical_cast()` had been called (for all other types).
    */
   template <typename number>
   std::string

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.