Closed jamespack closed 9 years ago
Thanks James! That is a known bug in the version of Implements that shipped with the initial release of Modern. It has already been fixed and will be updated on GitHub in the next day or two. Thanks for pointing it out though. Glad you were able to figure it out!
This has been fixed as of Modern v1.25.
Not sure if this is an issue but I have been working through your new course Windows Runtime Internals on Pluralsight and I grabbed a copy of the implements class template from here to use.
When I compile the standard c++ project in the 'Core Apps in Standard C++' module with the class template I get the following compiler error:
error C2440: 'static_cast': cannot convert from 'const Modern::Implements<ABI::Windows::ApplicationModel::Core::IFrameworkView,ABI::Windows::ApplicationModel::Core::IFrameworkViewSource> *const ' to 'ABI::Windows::ApplicationModel::Core::IFrameworkViewSource *'
When I double click the error it drops me in this function from the class template:
If I remove the const from the method the project builds without error.