constexpr auto call(
const TExpr expr,
const I &interface,
~~~~~~~~~
Ts &&... args)
{...}
argument interface is recognized as macro defined in combaseapi.h, changing to other naming compiles.
Adjusting including order or using precompiled header might help, but considering interface is a common keyword, it is expected to change the argument naming for better compatibility.
Specifications
Version: Visual Studio 2022 (v143), /std:c++20, /std:c17
Expected Behavior
te.hpp file compiles in a project using Windows SDK
Actual Behavior
te::call
has a compile errorargument
interface
is recognized as macro defined incombaseapi.h
, changing to other naming compiles.Adjusting including order or using precompiled header might help, but considering
interface
is a common keyword, it is expected to change the argument naming for better compatibility.Specifications