Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49375 - in sandbox/guigl: boost/parameter/aux_ libs/guigl/example
From: stipe_at_[hidden]
Date: 2008-10-17 17:50:15


Author: srajko
Date: 2008-10-17 17:50:14 EDT (Fri, 17 Oct 2008)
New Revision: 49375
URL: http://svn.boost.org/trac/boost/changeset/49375

Log:
re-enabled explicit default values
Text files modified:
   sandbox/guigl/boost/parameter/aux_/typed_arg_list.hpp | 4 ++--
   sandbox/guigl/libs/guigl/example/window_example.cpp | 2 +-
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/guigl/boost/parameter/aux_/typed_arg_list.hpp
==============================================================================
--- sandbox/guigl/boost/parameter/aux_/typed_arg_list.hpp (original)
+++ sandbox/guigl/boost/parameter/aux_/typed_arg_list.hpp 2008-10-17 17:50:14 EDT (Fri, 17 Oct 2008)
@@ -276,7 +276,7 @@
         return arg.value;
     }
 
-/*
+
     template <class Default>
     reference operator[](default_<key_type, Default> const& d) const
     {
@@ -287,7 +287,7 @@
     reference operator[](lazy_default<key_type, Default>) const
     {
         return arg.value;
- }*/
+ }
 
     // Builds an overload set including operator[]s defined in base
     // classes.

Modified: sandbox/guigl/libs/guigl/example/window_example.cpp
==============================================================================
--- sandbox/guigl/libs/guigl/example/window_example.cpp (original)
+++ sandbox/guigl/libs/guigl/example/window_example.cpp 2008-10-17 17:50:14 EDT (Fri, 17 Oct 2008)
@@ -69,7 +69,7 @@
         _position=position_type(50,80),
         _background=color_type(0.5,0.5,0.5),
         _active_color=color_type(0,1,0),
- _min=0.1,_max=0.9,
+ _min=0.1,_max=0.9,_value=0.5,
         _step=0.1 ));
     test_window1 << s;
     


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk