#include <iostream>
#include <string>
struct riaju {
std::string name;
int hoge;
int power;
};
struct hi_riaju {
std::string name;
int power;
};
template <class T>
void dump(T* person) {
std::cout << "name: " << person->name << std::endl;
std::cout << "power: " << person->power << std::endl;
}
int main()
{
hi_riaju* my = new hi_riaju();
my->name = "hecomi";
my->power = 0;
dump( static_cast<riaju*>( static_cast<void*>(my) ) );
delete my;
}