├── .gitignore ├── LICENSE ├── README.md └── Reference.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | *.obj 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Compiled Dynamic libraries 12 | *.so 13 | *.dylib 14 | *.dll 15 | 16 | # Fortran module files 17 | *.mod 18 | 19 | # Compiled Static libraries 20 | *.lai 21 | *.la 22 | *.a 23 | *.lib 24 | 25 | # Executables 26 | *.exe 27 | *.out 28 | *.app 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Discussion for C++ 2 | C++ 中文讨论区 3 | 4 | [![question](https://cloud.githubusercontent.com/assets/1147451/7267465/5c872b74-e8ee-11e4-9005-ba60df38b0fa.png) 5 | ](https://github.com/ReadingLab/Discussion-for-Cpp/issues/new) 6 | [![list0](https://cloud.githubusercontent.com/assets/1147451/7267590/002c36ec-e8f0-11e4-8ebc-90d34321657d.png)](https://github.com/ReadingLab/Discussion-for-Cpp/issues) 7 | [![list2](https://cloud.githubusercontent.com/assets/1147451/7267584/f053267c-e8ef-11e4-9fd6-254c3d7772fc.png)](https://github.com/ReadingLab/Discussion-for-Cpp/issues?q=is%3Aissue+is%3Aclosed) 8 | [![list3](https://cloud.githubusercontent.com/assets/1147451/7267623/aaccf7ee-e8f0-11e4-8d40-04c995a00196.png) 9 | ](Reference.md) 10 | -------------------------------------------------------------------------------- /Reference.md: -------------------------------------------------------------------------------- 1 | # Awesome Cpp Answer 2 | 3 | A curated list of awesome C++ answer from StackOverflow etc. Inspired by awesome-... stuff. 4 | 5 | - [Awesome Cpp Answer](#awesome-cpp-answer) 6 | - [Ptr&Ref](#ptrref) 7 | - [Const](#const) 8 | - [Expression](#expression) 9 | 10 | ## Ptr&Ref 11 | *Pointer and Reference, etc.* 12 | 13 | - [What are the differences between a pointer variable and a reference variable in C++](http://stackoverflow.com/questions/57483) 14 | 15 | ## Const 16 | *const and constexpr, etc.* 17 | 18 | - [What is the difference between const int*, const int * const, and int const *?](http://stackoverflow.com/questions/1143262) 19 | 20 | ## Expression 21 | *lvalue and rvalue, etc.* 22 | 23 | - [What are rvalues, lvalues, xvalues, glvalues, and prvalues?](http://stackoverflow.com/questions/3601602) 24 | 25 | ## Iterator 26 | *iterator and algorithm, etc.* 27 | 28 | - [Iterator invalidation rules](http://stackoverflow.com/questions/6438086/iterator-invalidation-rules) 29 | --------------------------------------------------------------------------------