Example 1:
void F () {}
int main ()
{
using functionptr = void (*) ();///equivalent to typedef void (*FUNCTIONPTR) ();
FunctionPtr ptr = f;
}
Example 2:
typedef unsigned char U1;
typedef unsigned short U2;
Using U4 = uint32_t;
Using U8 = uint64_t;
Example 3:
Using Line_no = std::vector<string>::size_type;
Equivalent to: typedef vector<string>::size_type LINE_NO;
Example 4:
typedef std::unique_ptr<std::unordered_map<std::string, std::string>> UPTRMAPSS;
Using UPTRMAPSS = std::unique_ptr<std::unordered_map<std::string, std::string>>;
C + + Standard Template Library from getting started to mastering
http://edu.csdn.net/course/detail/3324
Learn C + + with old rookie
http://edu.csdn.net/course/detail/2901
Visual Studio 2015 Basic use of developing C + + programs
http://edu.csdn.net/course/detail/2570
Using the PROTOBUF protocol in VC2015.
http://edu.csdn.net/course/detail/2582