Open evandrocoan opened 4 years ago
The solution may be to replace *static_cast<const T*>(value)
to reinterpret_cast<const T*>(value)
.
But I'm not sure without analysing the code. The reinterpret_cast<>
must be used carefully.
It's just a quick idea.
Calling
std::cout << fun_void_void
works fine, buttfm::format( "1. %s", fun_void_void )
(either%s
or%p
) results in: