Changeset 2901
- Timestamp:
- Dec 13, 2012, 2:30:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/random/random.h
r2889 r2901 254 254 { 255 255 public: 256 /** 257 type returned by operator() 258 259 \since New in yat 0.10 260 */ 261 typedef unsigned long int result_type; 262 256 263 /// 257 264 /// @brief Constructor … … 289 296 /// @return A random number. 290 297 /// 291 virtual unsigned longoperator()(void) const = 0;298 virtual result_type operator()(void) const = 0; 292 299 293 300 protected: … … 485 492 { 486 493 public: 494 /** 495 type returned by operator() 496 497 \since New in yat 0.10 498 */ 499 typedef double result_type; 487 500 488 501 /// … … 521 534 /// @return A random number 522 535 /// 523 virtual double operator()(void) const = 0;536 virtual result_type operator()(void) const = 0; 524 537 525 538 protected:
Note: See TracChangeset
for help on using the changeset viewer.