What to do with size_t vs. std::size_t?
Having just read: Does "std::size_t" make sense in C++? I realize using ::size_t is not standards-compliant (although supported by my compiler) when you #include <cstddef> . I want to comply with the standard, but I do not want to prepend std:: to all of my size_t 's. So, what is the more customary/popular way to handle this: write using std::size_t; ? include <stddef.h> ? just rely on compiler support? something else? Bob Miller You should specify it with the using directive. using std::size_t; Add it either to the global scope of each compilation unit, or to the local scopes if it would