Where can I find the unit tests for boost::optional?
I am trying to strip out boost::optional to own code since including all of boost slows down my compilation time massively.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are you referring to
E.g on my windows installation this would be
On a different note, have you looked at other techniques to speed up compilation times such as precompiled headers, only including the required headers, the pimpl idiom, etc.
These can make a big difference: e.g.
Say your class contains an instance of boost::asio::io_service, then only
in your header instead of
and then include other files such as the place holders, etc in your source.
This made a pretty big difference to me. Your mileage may vary…