2016-08-18から1日間の記事一覧
C++でアサートを以下のように書くとエラーになる。 Assert::AreEqual<uint16_t>(code[0], 0xA001, L"codes");intにすると、エラーが消える。 Assert::AreEqual<int>(code[0], 0xA001, L"codes");エラー C3690 文字列リテラルが予期されるところで、 代わりにユーザー定義の</int></uint16_t>…
C++でアサートを以下のように書くとエラーになる。 Assert::AreEqual<uint16_t>(code[0], 0xA001, L"codes");intにすると、エラーが消える。 Assert::AreEqual<int>(code[0], 0xA001, L"codes");エラー C3690 文字列リテラルが予期されるところで、 代わりにユーザー定義の</int></uint16_t>…