$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [pimpl] Mini Review
From: Max Sobolev (macsmr_at_[hidden])
Date: 2011-05-27 02:43:05
On 27.05.2011 0:31, Sergiu Dotenco wrote:
> Obviously, templates are not instantiated in the destructor, are they?
In the class template instantiation process only class is instantiated
(without mem-funs). Mem-funs are instantiated in the call point, if any.
In a non-inline ~Foo() (where ~data() is called) /struct data/ is
complete type.
Explicit (full) instantiation is provided by syntax like:
template class std::auto_ptr<data>;