Changeset 752
- Timestamp:
- Feb 17, 2007, 1:43:27 PM (17 years ago)
- Location:
- trunk/yat/random
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/random/random.cc
r750 r752 53 53 54 54 55 RNG* RNG::instance(void) 56 { 57 if (!instance_) 58 instance_=new RNG; 59 return instance_; 60 } 61 62 55 63 u_long RNG::max(void) const 56 64 { -
trunk/yat/random/random.h
r738 r752 93 93 /// @see seed and seed_from_devurandom 94 94 /// 95 static RNG* instance(void) 96 { if (!instance_) instance_=new RNG; return instance_; } 95 static RNG* instance(void); 97 96 98 97 ///
Note: See TracChangeset
for help on using the changeset viewer.