aboutsummaryrefslogtreecommitdiff
path: root/libxsde/xsde/cxx/serializer/validating/double.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsde/xsde/cxx/serializer/validating/double.hxx')
-rw-r--r--libxsde/xsde/cxx/serializer/validating/double.hxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/libxsde/xsde/cxx/serializer/validating/double.hxx b/libxsde/xsde/cxx/serializer/validating/double.hxx
index 6d8c282..019fdd7 100644
--- a/libxsde/xsde/cxx/serializer/validating/double.hxx
+++ b/libxsde/xsde/cxx/serializer/validating/double.hxx
@@ -24,6 +24,12 @@ namespace xsde
struct double_simpl: double_sskel
#endif
{
+ virtual void
+ pre (double);
+
+ virtual void
+ _serialize_content ();
+
enum notation
{
notation_auto,
@@ -33,18 +39,11 @@ namespace xsde
#ifdef DBL_DIG
double_simpl (notation = notation_auto,
- unsigned int precision = DBL_DIG);
+ unsigned int precision = DBL_DIG); // Keep it last.
#else
double_simpl (notation = notation_auto,
unsigned int precision = 15)
#endif
-
- virtual void
- pre (double);
-
- virtual void
- _serialize_content ();
-
protected:
notation notation_;
unsigned int precision_;