initial check in

This commit is contained in:
2012-12-06 21:43:03 +04:00
commit 4bc273824d
179 changed files with 29415 additions and 0 deletions

23
boost_variant_test.cpp Normal file
View File

@@ -0,0 +1,23 @@
#include <stdio.h>
#include <string>
#include <list>
#include <boost/array.hpp>
#include <boost/variant.hpp>
typedef boost::variant<int,long,double, const char*, _int64, std::string*, boost::array<int,128>*> tVarinat;
int main ()
{
tVarinat v;
std::list<int> l;
printf( "size %d\n", sizeof( tVarinat ) );
printf( "size %d\n", sizeof( std::string ) );
printf( "size %d\n", sizeof( l ) );
printf( "size %d\n", sizeof( boost::array<int,128> ) );
return 0;
}