// // InstanceMethod.hpp // NitroModules // // Created by Marc Rousavy on 25.09.25. // #pragma once #include "NitroDefines.hpp" namespace margelo::nitro { /** * Represents a Function pointer to an instance method of the given class. * For example: * `InstanceMethod` could point to `size_t std::string::length()` * `InstanceMethod, void, int>` could point to `void std::vector::push_back(int)` */ template using InstanceMethod = ReturnType (T::*NON_NULL)(Args...); } // namespace margelo::nitro