leafee98-blog/content/essays/const-in-cpp.md

13 lines
378 B
Markdown
Raw Permalink Normal View History

---
title: "关于 cpp 中 const 语法的说明"
date: 2021-02-12T19:15:13+08:00
tags: []
categories: []
weight: 50
show_comments: true
draft: false
---
*const 默认修饰它左边的东西,当左边没有东西时,它才会修饰右边的东西。*
[https://www.zhihu.com/question/443195492/answer/1723886545](https://www.zhihu.com/question/443195492/answer/1723886545)