I have tried lexical casting it from std::string and from long long. both gives zero value. any ideas?
boost::lexical_cast<boost::chrono::nanoseconds>(value) //value can be of std::string or long long type
Aucun commentaire:
Enregistrer un commentaire