//////////////////////////////////////////////////////////////////////////////// // The Loki Library // Copyright (c) 2005 Peter Kümmel // Permission to use, copy, modify, distribute and sell this software for any // purpose is hereby granted without fee, provided that the above copyright // notice appear in all copies and that both that copyright notice and this // permission notice appear in supporting documentation. // The author makes no representations about the // suitability of this software for any purpose. It is provided "as is" // without express or implied warranty. //////////////////////////////////////////////////////////////////////////////// // $Header: #include "../include/loki/OrderedStatic.h" #include namespace Loki { namespace Private { OrderedStaticCreatorFunc::OrderedStaticCreatorFunc() { } OrderedStaticCreatorFunc::~OrderedStaticCreatorFunc() { } OrderedStaticManagerClass::OrderedStaticManagerClass() : max_longevity_(std::numeric_limits::min()), min_longevity_(std::numeric_limits::max()) { } OrderedStaticManagerClass::~OrderedStaticManagerClass() { } void OrderedStaticManagerClass::createObjects() { for(unsigned int longevity=max_longevity_; longevity>=min_longevity_; longevity--) { for(unsigned int i=0; imax_longevity_) max_longevity_=l; if(l