[glom/glom-1-28] Add TODO to use std::to_string() instead of stringstream.



commit 55effe2bc7b043efcf4281b54b02601e9c006218
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 7 17:23:32 2016 +0100

    Add TODO to use std::to_string() instead of stringstream.

 glom/libglom/data_structure/glomconversions.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glom/libglom/data_structure/glomconversions.cc b/glom/libglom/data_structure/glomconversions.cc
index 4a9e8d0..32cd169 100644
--- a/glom/libglom/data_structure/glomconversions.cc
+++ b/glom/libglom/data_structure/glomconversions.cc
@@ -495,6 +495,7 @@ Glib::ustring Conversions::get_text_for_gda_value(Field::glom_field_type glom_ty
     const double number = get_double_for_gda_value_numeric(value);
 
     //Get the locale-specific text representation, in the required format:
+    //TODO: Use std::to_string(), but with the correct locale.
     std::stringstream another_stream;
     another_stream.imbue(locale); //Tell it to parse stuff as per this locale.
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]