Boost logo

Boost :

Subject: [boost] [move] will boost::rv work with types with virtual destructor?
From: DE (satan66613_at_[hidden])
Date: 2010-02-25 14:27:40


sorry for a dumb question
i noticed boost move lib mentioned in a recent message and decided to
look at it
i noticed that destructor for boost::rv class is declared but not
defined so it can no longer be generated automatically
then if an arbitrary type has a virtual destructor and we want to
parameterize the boost::rv template with it a vtable for the
boost::rv<type> must be generated
among other things it must hold a pointer to rv<type>::~rv which is
not defined
is that really a problem?

--
Pavel

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk