I am reading this open source project:
I have two questions:
- I found the
#ifndef _RANGE_REQUEST_GENERATOR_H_
#define _RANGE_REQUEST_GENERATOR_H_
#endif
and I only find the _RANGE_REQUEST_GENERATOR_H_
in this .h file, other place not use it.
so, what's the usage of the macro definition?
- there use the namespace wrap the functions.
namespace slowhttptest {
//functions
}
what's the purpose? why do not use std
, is it better?