Boost logo

Boost :

From: scleary_at_[hidden]
Date: 2001-07-19 07:28:06


> A forward declaration header must not include other headers except
possibly
> other forward declaration headers.

Except in the case that another header contains a declaration or definition
required by an interface declaration.

Example (from pool_fwd.hpp):

  #include <boost/config.hpp>
  #include <cstddef>

  ...

  template <typename SizeType = std::size_t>
  class simple_segregated_storage;

        -Steve


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