📄 todo
字号:
The approach I've been using for a given header is to recursively do eachof the "bits" headers which make up the standard header. So, e.g., whilethere are four headers making up <algorithm>, three of them were alreadydocumented in the course of doing other headers."Untouched" means I've deliberately skipped it for various reasons, orhaven't gotten to it yet. It /will/ be done (by somebody, eventually.)If you document an area and need to skip (for whatever reason) a non-trivialentity (i.e., one that should be documented), go ahead and add the commentmarkup, and use the homegrown @doctodo tag. See include/bits/stl_iterator.hfor examples of this. Doing so will at least cause doxygen to consider theentitiy as documented and include it in the output. It will also add theentity to the generated TODO page. Area Still needs to be doxygen-documented-----------------------------------------------------------c17 FINISHED (Nothing in Clause 17 "exists" in terms of code.)c18 FINISHED, Note Ac19 Note Ac20 Note Ac21 Untouched (top-level class note for basic_string done), Note Bc22 Untouched; see docs/html/22_locale/*c23 See doxygroups.cc and Note B. Notes on what invalidates iterators need to be added. std::list-specific memfns need to be filled out.c24 stl_iterator.h (__normal_iterator, other small TODO bits) stream iteratorsc25 stl_algo.h (lots of stuff)c26 <complex>, <valarray>, stl_numeric.h[26.4], Note Ac27 ios_base callbacks and local storage basic_ios::copyfmt() std_streambuf.h's __copy_streambufs() " " _M_* protected memfns (data has been done) fstream and sstream protected membersbackward/* Not scanned by doxygen. Should it be? Doubtful.ext/* Some of the SGI algorithm/functional extensions. All of rope/hashing/slist need docs.__gnu_cxx Tricky. Right now ext/* are in this namespace.-----------------------------------------------------------NOTES:A) So far I have not tried to document any of the <c*> headers. So entitiessuch as atexit() are undocumented throughout the library. Since we usuallydo not have the C code (to which the doxygen comments would be attached),this would need to be done in entirely separate files, a la doxygroups.cc.B) Huge chunks of containers and strings are described in common "Tables"in the standard. These are pseudo-duplicated in tables.html. We canuse doxygen hooks like @pre and @see to reference the tables. Then theindividual classes do like the standard does, and only document members forwhich additional info is available.STYLE:stl_deque.h, stl_pair.h, and stl_algobase.h have good examples of what I'vebeen using for class, namespace-scope, and function documentation, respectively.These should serve as starting points. /Please/ maintain the inter-word andinter-sentence spacing, as this might be generated and/or scanned in thefuture.vim:ts=4:et:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -