Changeset 2041
- Timestamp:
- 09/19/10 02:19:11 (2 years ago)
- Files:
-
- trunk/docsrc/dstyle.dd (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docsrc/dstyle.dd
r2040 r2041 103 103 <dd>Names formed by joining multiple words should have each word 104 104 other than the first capitalized. 105 Names shall not begin with an underscore $(SINGLEQUOTE _) .105 Names shall not begin with an underscore $(SINGLEQUOTE _) unless they are private member variables. 106 106 107 107 ------------------------------- … … 131 131 ------------------------------- 132 132 ) 133 $(DD An exception is that eponymous templates that return a value instead of a type should not be 134 capitalized, as they are conceptually more similar to functions. 135 136 ------------------------- 137 template GetSomeType(T) {} 138 template isSomeType(T) {} 139 ------------------------- 140 ) 133 141 134 142 $(DT Function names) … … 141 149 ) 142 150 151 $(V1 143 152 $(DT Const names) 144 153 $(DD Are in all caps.) 145 154 ) 146 155 $(DT Enum member names) 147 $(DD Are in all caps.)156 $(DD Are in lowerCamelCase.) 148 157 149 158 )
