-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated motifCpp and guid liblets from RNW Mso fork (#40)
* Updated mortifCpp and guid liblets from RNW Mso fork * Change files * Removed unused ExpectException override.
- Loading branch information
Showing
10 changed files
with
630 additions
and
314 deletions.
There are no files selected for viewing
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
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
8 changes: 8 additions & 0 deletions
8
change/@microsoft-mso-2020-04-05-15-48-50-MS_MotifCppUpdate.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "Updated mortifCpp and guid liblets from RNW Mso fork", | ||
"packageName": "@microsoft/mso", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch", | ||
"date": "2020-04-05T22:48:50.448Z" | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
#pragma once | ||
#ifndef MSO_CPPEXTENSIONS_AUTORESTORE_H | ||
#define MSO_CPPEXTENSIONS_AUTORESTORE_H | ||
|
||
#include <cstddef> | ||
|
||
namespace Mso { | ||
//! Return compile-time size of an array. | ||
//! It can be used instead of MSVC _countof macro | ||
template <class T, size_t N> | ||
constexpr size_t SizeOf([[maybe_unused]] T (&arr)[N]) noexcept | ||
{ | ||
return N; | ||
} | ||
|
||
} // namespace Mso | ||
|
||
#endif // MSO_CPPEXTENSIONS_AUTORESTORE_H |
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
Oops, something went wrong.