mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-11-29 22:36:19 +08:00
Fixed typo in the code example
This commit is contained in:
+2
-2
@@ -22,10 +22,10 @@ Literals can be used inside switches:
|
||||
|
||||
```cpp
|
||||
switch(my_literal.value()) {
|
||||
case MyLiteral::value_of<"option1">:
|
||||
case MyLiteral::value_of<"option1">():
|
||||
...
|
||||
|
||||
case MyLiteral::value_of<"option2">:
|
||||
case MyLiteral::value_of<"option2">():
|
||||
...
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user