diff --git a/include/wil/common.h b/include/wil/common.h index cdb8f1c5f..2d5b581c9 100644 --- a/include/wil/common.h +++ b/include/wil/common.h @@ -770,6 +770,10 @@ namespace wil This allows code to generically convert any enum class to it's corresponding underlying type. */ template using integral_from_enum = typename details::variable_size_mapping::type; + + //! Declares a name that intentionally hides a name from an outer scope. + //! Use this to prevent accidental use of a parameter or lambda captured variable. + using hide_name = void(struct hidden_name); } // wil #pragma warning(pop)