Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions strings/base_implements.h
Original file line number Diff line number Diff line change
Expand Up @@ -1437,6 +1437,7 @@ WINRT_EXPORT namespace winrt

hstring GetRuntimeClassName() const override
{
static_assert(std::is_base_of_v<implements_type, D>, "Class must derive from implements<> or ClassT<> where the first template parameter is the derived class name, e.g. struct D : implements<D, ...>");
return impl::runtime_class_name<typename impl::implements_default_interface<D>::type>::get();
}

Expand Down