Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-01 13:53:18


Does anyone know of a way to detect at compile time whether a type has a
publicly-accessible copy constructor (without generating an error)? It seems
as though the sizeof/overloaded function technique might hold some promise,
but nothing I've tried so far seems to work.

TIA,
Dave

===================================================
  David Abrahams, C++ library designer for hire
 resume: http://users.rcn.com/abrahams/resume.html

        C++ Booster (http://www.boost.org)
          email: david.abrahams_at_[hidden]
===================================================


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