Created
August 14, 2015 16:04
-
-
Save graysonarts/b188835a5830097539b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fails to compile in vs | |
using ErrorPair = struct ErrorPairStruct | |
{ | |
int id; | |
std::string message; | |
} | |
using ExceptionErrorMap = std::map <ExceptionType, ErrorPair>; | |
const ExceptionErrorMap errorsMap { | |
{ NotFoundException, { IDS_NOT_FOUND, Lookup(IDS_NOT_FOUND) } }, | |
... | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment