jeaye/value-category-cheatsheet
关于
A C++14 cheat-sheet on lvalues, rvalues, xvalues, and more
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文C++14 value category cheatsheet
Herein lies a generated PDF which outlines the common pitfalls and edge cases with C++14's lvalues, rvalues, and the like. The cheatsheet is generated by running an HTTP server using Clojure and Ring and then converting the produced web page to a PDF using wkhtmltopdf.
This project accompanied a talk I presented, in hopes of conveying the intricacies of everyday C++ work.
Viewing online
There is a rendered version of this cheatsheet available in this repo. You can view it online here: https://raw.githubusercontent.com/jeaye/value-category-cheatsheet/master/value-category-cheatsheet.pdf
Running locally
# Assuming leiningen is installed
$ lein ring server
Some of these rules change in C++17, why not use them?
This cheatsheet is meant to be a practical reference for the everyday C++ dev working in existing codebases. Since C++17 is not yet published, and codebases are much more likely to be using the C++11 and C++14 rulesets, I've focused on C++14.
探索相关项目
加载中…