'Any' seems to be like a Variant is'nt it ?
So, as the Poco::format() function accept 'Any' type as parameters, is there a way to not specify the type of the parameters (%ld, %i, %s, %f, etc...) and to let Poco detect the type itself ?
for example:
- Code: Select all
Poco::Int32 cpt = 5000;
Poco::Any cptAny = cpt;
std::string formatted = Poco::format( "counter is %1", cptAny);
Best regards





