repo.or.cz
/
unleashed.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
3065 some functions in the tcp module can be static
[unleashed.git]
/
usr
/
src
/
cmd
/
man
/
src
/
util
/
nsgmls.src
/
include
/
Owner.cxx
blob
d9fc8b28bb86d48deac21088020ebca7d681ad1f
1
// Copyright (c) 1994 James Clark
2
// See the file COPYING for copying permission.
3
#pragma ident
"%Z%%M% %I% %E% SMI"
4
5
#ifndef Owner_DEF_INCLUDED
6
#define Owner_DEF_INCLUDED 1
7
8
#ifdef SP_NAMESPACE
9
namespace
SP_NAMESPACE
{
10
#endif
11
12
template
<
class
T
>
13
Owner
<
T
>::~
Owner
()
14
{
15
if
(
p_
)
16
delete
p_
;
17
}
18
19
template
<
class
T
>
20
void
Owner
<
T
>::
del
()
21
{
22
delete
p_
;
23
}
24
25
#ifdef SP_NAMESPACE
26
}
27
#endif
28
29
#endif
/* not Owner_DEF_INCLUDED */