Skip to content

Commit

Permalink
Update asenum.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkenso authored Aug 19, 2019
1 parent e3fe3a0 commit ead7488
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions include/asenum/asenum.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@

namespace asenum
{
/**
@class Case descriptor of single Associated Enum case.
*/
/// Case descriptor of single Associated Enum case.
template <typename T_Enum, T_Enum T_Code, typename T>
struct Case11
{
Expand All @@ -41,9 +39,7 @@ namespace asenum
};

#if __cplusplus > 201402L
/**
@class Case descriptor of single Associated Enum case. Convenient use with C++17 compiler.
*/
///Case descriptor of single Associated Enum case. Convenient use with C++17 compiler.
template <auto T_Code, typename T>
using Case = Case11<decltype(T_Code), T_Code, T>;
#endif
Expand All @@ -67,7 +63,7 @@ namespace asenum
}

/**
@class Associated Enum type.
Associated Enum type.
AsEnum should be specialized with single or multiple 'Case/Case11' types that represent associations.
*/
template <typename... T_Cases>
Expand Down

0 comments on commit ead7488

Please sign in to comment.