Skip to content

Instantly share code, notes, and snippets.

@NatalieWolfe
Created July 14, 2014 21:30
Show Gist options
  • Save NatalieWolfe/c2ae978b0d3bedb983e9 to your computer and use it in GitHub Desktop.
Save NatalieWolfe/c2ae978b0d3bedb983e9 to your computer and use it in GitHub Desktop.
enum class Type : int {
Song,
Artist,
Release,
Playlist
};
static const std::map< Type, std::string > TypeStrings{
{ Type::Song, "song" },
{ Type::Artist, "artist" },
{ Type::Release, "release" },
{ Type::Playlist, "playlist" }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment