Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkenso committed Aug 3, 2019
1 parent 71f6f6b commit 89a6981
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/asenum/asenum.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ namespace asenum

/**
Creates AsEnum instance of specific case.
@param value Value related to specified enum case.
@return AsEnum instance holding value of specified case.
*/
Expand All @@ -87,6 +88,7 @@ namespace asenum

/**
Creates AsEnum instance of specific case with 'void' associated type.
@return AsEnum instance holding value of specified case.
*/
template <Enum Case, typename T = typename std::enable_if<std::is_same<UnderlyingType<Case>, void>::value>::type>
Expand All @@ -103,7 +105,6 @@ namespace asenum
template <Enum Case>
bool isCase() const;

//#error add example
/**
Unwraps AsEnum and provides access to value that it holds.
Expand All @@ -114,10 +115,8 @@ namespace asenum
template <Enum Case, typename Handler>
bool ifCase(const Handler& handler) const;

//#error add example
/**
Performs switch-like action allowing to wotk with values of different cases.
*/
details::AsSwitch<Enum, AsEnum<T_Cases...>> doSwitch() const;

Expand Down

0 comments on commit 89a6981

Please sign in to comment.