summaryrefslogtreecommitdiff
path: root/ace/Singleton.i
blob: 4aac1ef0853f7ef4ea848f4499eeb0938fa09dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* -*- C++ -*- */
// $Id$

// Singleton.i

// Default constructor.

template <class TYPE, class LOCK> ACE_INLINE
ACE_Singleton<TYPE, LOCK>::ACE_Singleton (void)
  : instance_ (new TYPE) 
{
}

template <class TYPE, class LOCK> ACE_INLINE
ACE_TSS_Singleton<TYPE, LOCK>::ACE_TSS_Singleton (void)
  : instance_ (new ACE_TSS<TYPE>) 
{
}