forked from boostorg/container
Avoid including <boost/container/detail/config_begin.hpp> in tests to catch all possible warnings.
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
// See http://www.boost.org/libs/container for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/container/detail/config_begin.hpp>
|
||||
#include <boost/container/detail/workaround.hpp>
|
||||
//[doc_custom_tree
|
||||
#include <boost/container/set.hpp>
|
||||
|
||||
@@ -66,4 +64,3 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/container/detail/config_end.hpp>
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
// See http://www.boost.org/libs/container for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/container/detail/config_begin.hpp>
|
||||
#include <boost/container/detail/workaround.hpp>
|
||||
|
||||
//[doc_emplace
|
||||
#include <boost/container/list.hpp>
|
||||
#include <cassert>
|
||||
@@ -41,4 +40,3 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/container/detail/config_end.hpp>
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
// See http://www.boost.org/libs/container for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/container/detail/config_begin.hpp>
|
||||
#include <boost/container/detail/workaround.hpp>
|
||||
|
||||
//[doc_extended_allocators
|
||||
#include <boost/container/vector.hpp>
|
||||
#include <boost/container/flat_set.hpp>
|
||||
@@ -51,4 +50,3 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/container/detail/config_end.hpp>
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
// See http://www.boost.org/libs/container for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/container/detail/config_begin.hpp>
|
||||
#include <boost/container/detail/workaround.hpp>
|
||||
|
||||
//[doc_move_containers
|
||||
#include <boost/container/vector.hpp>
|
||||
#include <boost/move/utility_core.hpp>
|
||||
@@ -51,4 +50,3 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/container/detail/config_end.hpp>
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
// See http://www.boost.org/libs/container for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/container/detail/config_begin.hpp>
|
||||
#include <boost/container/detail/workaround.hpp>
|
||||
|
||||
//[doc_recursive_containers
|
||||
#include <boost/container/vector.hpp>
|
||||
#include <boost/container/stable_vector.hpp>
|
||||
@@ -70,4 +69,3 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/container/detail/config_end.hpp>
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
// See http://www.boost.org/libs/container for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/container/detail/config_begin.hpp>
|
||||
#include <boost/container/detail/workaround.hpp>
|
||||
|
||||
//[doc_type_erasure_MyClassHolder_h
|
||||
#include <boost/container/vector.hpp>
|
||||
|
||||
@@ -87,5 +86,3 @@ const MyClass & MyClassHolder::GetLastObject() const
|
||||
{ return vector_.back(); }
|
||||
|
||||
//]
|
||||
|
||||
#include <boost/container/detail/config_end.hpp>
|
||||
|
||||
Reference in New Issue
Block a user