相关内容:
友元关系不能被继承,基类的友元对派生类没有特殊的访问权限。friend
:友元可以访问类的private
和protected
数据。
基类的友元和基类本身可以访问基类的private
成员,派生类不能访问基类的private
成员。
代码相关内容:
1 |
|
自信人生二百年,会当水击三千里!
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true