Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Comment update

  • Loading branch information...
commit 3ef56e2d2b7a4ffc3a482e5f7507f8aaa6daddd3 1 parent a213119
Jason Roelofs authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 3 rice/Enum.hpp
5 rice/Enum.hpp
@@ -36,11 +36,10 @@ struct Default_Enum_Traits
36 36 * Example:
37 37 * \code
38 38 * enum Color { Red, Green, Blue };
39   - * Enum<Color> rb_cColor = define_enum<Color>()
  39 + * Enum<Color> rb_cColor = define_enum<Color>("Color")
40 40 * .define_value("Red", Red)
41 41 * .define_value("Green", Green)
42   - * .define_value("Blue", Blue)
43   - * .initialize("Color");
  42 + * .define_value("Blue", Blue);
44 43 * \endcode
45 44 */
46 45 template<typename Enum_T, typename Enum_Traits = Default_Enum_Traits<Enum_T> >

0 comments on commit 3ef56e2

Please sign in to comment.
Something went wrong with that request. Please try again.