Changes and fixes for Boost 1.37

[SVN r49277]
This commit is contained in:
Ion Gaztañaga
2008-10-11 13:18:02 +00:00
parent 02d366387b
commit dc0eb8fe0e
41 changed files with 1536 additions and 206 deletions

View File

@@ -76,8 +76,21 @@ int test_expand_bwd()
return 0;
}
class recursive_vector
{
public:
int id_;
vector<recursive_vector> vector_;
};
void recursive_vector_test()//Test for recursive types
{
vector<recursive_vector> recursive_vector_vector;
}
int main()
{
recursive_vector_test();
typedef allocator<int, managed_shared_memory::segment_manager> ShmemAllocator;
typedef vector<int, ShmemAllocator> MyVector;
@@ -105,6 +118,11 @@ int main()
if(test_expand_bwd())
return 1;
const test::EmplaceOptions Options = (test::EmplaceOptions)(test::EMPLACE_BACK | test::EMPLACE_BEFORE);
if(!boost::interprocess::test::test_emplace
< vector<test::EmplaceInt>, Options>())
return 1;
return 0;
}