-
Notifications
You must be signed in to change notification settings - Fork 7
load_current_t
Alairion edited this page Jun 1, 2019
·
6 revisions
Defined in header <nes/shared_library.hpp>
struct load_current_t{};
static constexpr load_current_t load_current{};
load_current_t
is the type of the disambiguation tag that can be passed to nes::shared_library
constructor to load current binary as a shared library.
load_current
is a constant of type load_current_t
.
#include <nes/shared_library.hpp>
int main()
{
//Open current binary as a shared library.
nes::shared_library current{nes::load_current};
}