Merge branch 'master' of github.com:AnthonyCalandra/modern-cpp-features

This commit is contained in:
Anthony Calandra
2020-06-25 21:41:14 -04:00
4 changed files with 40 additions and 4 deletions

View File

@@ -333,7 +333,7 @@ After:
```c++
enum class rgba_color_channel { red, green, blue, alpha };
std::string_view to_string(rgba_color_channel channel) {
std::string_view to_string(rgba_color_channel my_channel) {
switch (my_channel) {
using enum rgba_color_channel;
case red: return "red";