|
CeresEngine 0.2.0
A game development framework
|
A helper structure that provides an implicit conversion operator from a loaded void* function pointer into a T function pointer.
More...
#include <CeresEngine/Foundation/DynamicLibrary.hpp>
Public Types | |
| using | Ptr = void * |
| The void* pointer type. | |
Public Member Functions | |
| operator bool () const noexcept | |
| template<typename T , typename = typename std::enable_if_t<std::is_pointer_v<T>>> | |
| operator T () const noexcept | |
Converts the void* pointer into a T pointer type. | |
| template<typename T > | |
| operator Symbol< T > () const noexcept | |
Converts the void* pointer into a T pointer type. | |
Public Attributes | |
| Ptr | ptr |
| The loaded function pointer. | |
A helper structure that provides an implicit conversion operator from a loaded void* function pointer into a T function pointer.
| using CeresEngine::DynamicLibrary::Symbol< void >::Ptr = void* |
The void* pointer type.
|
inlineexplicitnoexcept |
true if the symbol is available
|
inlinenoexcept |
Converts the void* pointer into a T pointer type.
| T | the pointer type to convert to |
|
inlinenoexcept |
Converts the void* pointer into a T pointer type.
| T | the pointer type to convert to |
The loaded function pointer.