1 | class Point { |
type deduction
Posted on
Edited on
In
C++
,
Effective Modern C++
Disqus:
Symbols count in article: 2.1k Reading time ≈ 2 mins.
Symbols count in article: 2.1k Reading time ≈ 2 mins.
1 | template<typename T> |
reference class member in C++
1 | struct A { |
使用RAII思想来管理线程
1 | class thread_guard { |
Markdown心得
- 表格如果想正确显示一定要与前面的正文隔两行
线程分离以后的资源回收
1 | #include <iostream> |
线程detach以后,如果进程结束(比如main函数返回)则该detached线程的资源交给系统回收,与该线程的父线程是否返回无关(除非父线程是main函数)
How to bind custom domain to github page
CName file
Github uses a file called CNAME to redirect your site. If you read the official
guide it says the file must be saved under the root directory in the master branch. But remember that for us the source branch is where the raw material is and master branch is generated when you deploy. So if you put something in the master branch it will be overwritten next time you deploy your site.
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.