When I include and compile the code, the compile outputs the error " error: 'format' is not not a member of 'Boost::timer'". After I check the source code, the format functions are defined as:
- std::string format(short places, const std::string& format) const { return ::boost::timer::format(elapsed(), places, format); }
- std::string format(short places = default_places) const { return ::boost::timer::format(elapsed(), places); }
the function "::boost::timer::format(...)" within the format function actually does not exist in the code, anyone knows how to solve this problem?
Aucun commentaire:
Enregistrer un commentaire