Include the standard header <cinttypes> to effectively include the standard header <inttypes.h> within the std namespace.
#include <inttypes.h>
namespace std {
namespace tr1 {
using ::imaxdiv_t;
using ::imaxabs;
using ::abs;
using ::imaxdiv;
using ::div;
using ::strtoimax;
using ::strtoumax;
using ::wcstoimax;
using ::wcstoumax;
}
}
The TR1 functions are only available through the <cinttypes> header.
Certain materials included or referred to in this document are copyright P.J. Plauger and/or Dinkumware, Ltd. or are based on materials that are copyright P.J. Plauger and/or Dinkumware, Ltd.
Notwithstanding the meta-data for this document, copyright information for this document is as follows:
Copyright © IBM Corp. 1999, 2014. & Copyright © P.J. Plauger and/or Dinkumware, Ltd. 1992-2006.