summaryrefslogtreecommitdiff
path: root/utils/Initializer.h
blob: 85c8b2734517f7b298f79d0754647f9278c64ccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 *	CENA C++ Utilities
 *
 *	by Stephane Chatty
 *
 *	Copyright 1992-1996
 *	Centre d'Etudes de la Navigation Aerienne (CENA)
 *
 *	Initializers for classes
 *
 *	$Id$
 *	$CurLog$
 */

 
#ifndef Initializer_H_
#define Initializer_H_

#include "cplus_bugs.h"

#ifndef CPLUS_BUG19

template <class CLASS> class IvlInitializerFor {
public:
inline	IvlInitializerFor ()	{ if (!CLASS::ClassInitialized) CLASS::ClassInit (); }
};

#endif

#endif	/* Initializer_H_ */