Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-02-22 01:41:35

The changes I made yesterday to is_POD could (should) easily be generalized
to handle a number of things not currently handled. For example, if I
specialize has_trivial_destructor<T>::value <= true,
has_trivial_destructor<T const>::value is still false. Also
has_trivial_destructor<T[n]>::value is still false. This can have real
impact: for example, the array destructor optimization example from the docs
will fail to optimize everything for 2d arrays of trivially-destructible

There are a number of type properties like is_POD which should probably be
propagated through arrays and cv-qualifications:

is_stateless (?)

I'm sure there are others.



                  David Abrahams
      C++ Booster ( O__ ==
      Pythonista ( c/ /'_ ==
  resume: (*) \(*) ==
          email: david.abrahams_at_[hidden]

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