Navigation
API > API/Runtime > API/Runtime/Core
Description
Deduces the class the member is defined in. Behavior can be inconsistent if the type brought into the class with a using statement. ex. using IPhysicalPlatformFile::OpenWrite; Clang still works as expected, but this a compile error on MSVC. Still this is good enough for what is needed here. I think this is probably a bug in MSVC because decltype(&BaseClass::Func) works as expected, even with a using statement.
| Name | ManagedStoragePlatformFile::MakeDeduceBaseClassHelper |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/IPlatformFileManagedStorageWrapper.h |
| Include Path | #include "HAL/IPlatformFileManagedStorageWrapper.h" |
namespace ManagedStoragePlatformFile
{
template<typename RetType, typename... ParamTypes, typename ClassType>
auto ManagedStoragePlatformFile::MakeDeduceBaseClassHelper
(
RetType(ClassType::*)(ParamTypes...)
)
}