comparison dmd/Array.d @ 121:347de076ad34

TemplateParameters -> Vector
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Thu, 02 Sep 2010 22:41:12 +0100
parents e28b18c23469
children e3afd1303184
comparison
equal deleted inserted replaced
120:46ef67271ef3 121:347de076ad34
203 @property final size_t opDollar() const 203 @property final size_t opDollar() const
204 { 204 {
205 return _dim; 205 return _dim;
206 } 206 }
207 */ 207 */
208 208 /*
209 // Use [] for accessing members instead
210 // or ptr() to get the pointer to the first element
209 @property T *data() 211 @property T *data()
210 { 212 {
211 return _data; 213 return _data;
212 } 214 }
213 215 */
214 @property T *ptr() 216 @property T *ptr()
215 { 217 {
216 return _data; 218 return _data;
217 } 219 }
218 220