File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ namespace asenum
7979
8080 /* *
8181 Creates AsEnum instance of specific case.
82+
8283 @param value Value related to specified enum case.
8384 @return AsEnum instance holding value of specified case.
8485 */
@@ -87,6 +88,7 @@ namespace asenum
8788
8889 /* *
8990 Creates AsEnum instance of specific case with 'void' associated type.
91+
9092 @return AsEnum instance holding value of specified case.
9193 */
9294 template <Enum Case, typename T = typename std::enable_if<std::is_same<UnderlyingType<Case>, void >::value>::type>
@@ -103,7 +105,6 @@ namespace asenum
103105 template <Enum Case>
104106 bool isCase () const ;
105107
106- // #error add example
107108 /* *
108109 Unwraps AsEnum and provides access to value that it holds.
109110
@@ -114,10 +115,8 @@ namespace asenum
114115 template <Enum Case, typename Handler>
115116 bool ifCase (const Handler& handler) const ;
116117
117- // #error add example
118118 /* *
119119 Performs switch-like action allowing to wotk with values of different cases.
120-
121120 */
122121 details::AsSwitch<Enum, AsEnum<T_Cases...>> doSwitch () const ;
123122
You can’t perform that action at this time.
0 commit comments