bb1f3d690a
Have a separate config stage, which by default disables forward declaration of containers. Also add a test to check that if it is disabled correctly. Removed forward declaration of std::pair - since it's almost always included by `<utility>`. [SVN r72990]
15 lines
337 B
C++
15 lines
337 B
C++
|
|
// Copyright 2010 Daniel James.
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#define BOOST_DETAIL_NO_CONTAINER_FWD
|
|
|
|
#include <boost/detail/container_fwd.hpp>
|
|
|
|
int main()
|
|
{
|
|
std::set<int> x;
|
|
std::vector<std::string> y;
|
|
}
|