{"action":"opened","issue":{"url":"https://api.github.com/repos/algorithmlixuan/gitment-comments/issues/5","repository_url":"https://api.github.com/repos/algorithmlixuan/gitment-comments","labels_url":"https://api.github.com/repos/algorithmlixuan/gitment-comments/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/algorithmlixuan/gitment-comments/issues/5/comments","events_url":"https://api.github.com/repos/algorithmlixuan/gitment-comments/issues/5/events","html_url":"https://github.com/algorithmlixuan/gitment-comments/issues/5","id":368997049,"node_id":"MDU6SXNzdWUzNjg5OTcwNDk=","number":5,"title":"c++ Lession 4：内联函数，函数重载，函数缺省参数 | ____查无此人〆","user":{"login":"algorithmlixuan","id":30352320,"node_id":"MDQ6VXNlcjMwMzUyMzIw","avatar_url":"https://avatars3.githubusercontent.com/u/30352320?v=4","gravatar_id":"","url":"https://api.github.com/users/algorithmlixuan","html_url":"https://github.com/algorithmlixuan","followers_url":"https://api.github.com/users/algorithmlixuan/followers","following_url":"https://api.github.com/users/algorithmlixuan/following{/other_user}","gists_url":"https://api.github.com/users/algorithmlixuan/gists{/gist_id}","starred_url":"https://api.github.com/users/algorithmlixuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algorithmlixuan/subscriptions","organizations_url":"https://api.github.com/users/algorithmlixuan/orgs","repos_url":"https://api.github.com/users/algorithmlixuan/repos","events_url":"https://api.github.com/users/algorithmlixuan/events{/privacy}","received_events_url":"https://api.github.com/users/algorithmlixuan/received_events","type":"User","site_admin":false},"labels":[{"id":1087191284,"node_id":"MDU6TGFiZWwxMDg3MTkxMjg0","url":"https://api.github.com/repos/algorithmlixuan/gitment-comments/labels//2018/10/11/c++lession4/","name":"/2018/10/11/c++lession4/","color":"ededed","default":false},{"id":1087030033,"node_id":"MDU6TGFiZWwxMDg3MDMwMDMz","url":"https://api.github.com/repos/algorithmlixuan/gitment-comments/labels/Gitalk","name":"Gitalk","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-11T07:58:22Z","updated_at":"2018-10-11T07:58:22Z","closed_at":null,"author_association":"OWNER","body":"https://algorithmlixuan.github.io/2018/10/11/c++lession4/#more \n\n 一、内联函数 前言：函数调用是有时间开销的，如果函数本身只有几行代码，而且执行很快，那么相比下调用函数所产生的这个开销就会显得比较大。  为了减少函数调用的开销，就引入内联函数机制。编译器处理对内联函数的调用语句，是将整个函数的代码插入到调用语句处，而不会产生调用语句，关键字为inline。举个栗子：  但内联函数也是有缺点的，以下列出了内联函数的优缺点：    优点 缺点     1. 内联函数"}}
{"actor":{"display_login":"algorithmlixuan"}}