#include <iostream>


struct Light {
	float print(const char* s) { std::cout << s ; return 4.2f; }	
};


int main() {
	float (Light::*fpAction)(const char*) = &Light::print;
    Light b;
    float f = (b.*fpAction)("Hello world\n");
	std::cout << f;
}