Permalink
Browse files

Comment update

  • Loading branch information...
1 parent a213119 commit 3ef56e2d2b7a4ffc3a482e5f7507f8aaa6daddd3 Jason Roelofs committed Oct 8, 2009
Showing with 2 additions and 3 deletions.
  1. +2 −3 rice/Enum.hpp
View
5 rice/Enum.hpp
@@ -36,11 +36,10 @@ struct Default_Enum_Traits
* Example:
* \code
* enum Color { Red, Green, Blue };
- * Enum<Color> rb_cColor = define_enum<Color>()
+ * Enum<Color> rb_cColor = define_enum<Color>("Color")
* .define_value("Red", Red)
* .define_value("Green", Green)
- * .define_value("Blue", Blue)
- * .initialize("Color");
+ * .define_value("Blue", Blue);
* \endcode
*/
template<typename Enum_T, typename Enum_Traits = Default_Enum_Traits<Enum_T> >

0 comments on commit 3ef56e2

Please sign in to comment.