Boost logo

Boost Users :

Subject: Re: [Boost-users] Find which boost header
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-27 19:39:34


AMDG

Mathijs Romans wrote:
> I have trouble finding which header I should use when I want to use a part of
> boost. For instance, I wish to use boost::optional but am not entirely sure
> which header to use. In the documentation online I can find everything about
> boost::optional except which header is recommended. I'm sure it is
> boost/optional.hpp or boost/optional/optional.hpp but that's not really my
> question.
>

The two are equivalent.

> Am I supposed to just browse through my local boost include dir to find an
> appropriate header? Or is there somewhere an overview of which header files are
> recommended for boost users?
>

The documentation should specify which header to #include.
Please create a ticket at svn.boost.org if it doesn't.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net