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.


  David Abrahams, C++ library designer for hire

        C++ Booster (
          email: david.abrahams_at_[hidden]

Boost list run by bdawes at, gregod at, cpdaniel at, john at