Skip to content

Commit

Permalink
fix enumerated string docs for real
Browse files Browse the repository at this point in the history
  • Loading branch information
rboston628 committed Oct 16, 2023
1 parent 1d9ed0c commit 9c10f80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev-docs/source/EnumeratedString.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ will be triggered if this is not included.
Further, the ``enum`` *must* have elements in order from 0 to :code:`enum_count`. That is, you *CANNOT* set them like so:

.. code-block:: cpp
enum class CakeTypeEnum : char {LEMON='l', BUNDT='b', POUND='p', enum_count=3}; // NOT ALLOWED
as this will break validation features inside the class.
Expand Down

0 comments on commit 9c10f80

Please sign in to comment.