forked from boostorg/type_traits
added support for boost test runtime environment
[SVN r9996]
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
|
||||
#include <boost/timer.hpp>
|
||||
#include <boost/type_traits.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
@ -149,7 +150,7 @@ const char* cc_array = cc_array_;
|
||||
|
||||
const int iter_count = 1000000;
|
||||
|
||||
int main()
|
||||
int cpp_main(int argc, char* argv[])
|
||||
{
|
||||
boost::timer t;
|
||||
double result;
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <boost/timer.hpp>
|
||||
#include <boost/type_traits.hpp>
|
||||
#include <boost/call_traits.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
|
||||
#if defined(BOOST_NO_STDC_NAMESPACE) || (defined(std) && defined(__SGI_STL_PORT))
|
||||
namespace std{ using :: memset; }
|
||||
@ -116,7 +117,7 @@ const char* cc_array = cc_array_;
|
||||
|
||||
const int iter_count = 1000000;
|
||||
|
||||
int main()
|
||||
int cpp_main(int argc, char* argv[])
|
||||
{
|
||||
boost::timer t;
|
||||
double result;
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <memory>
|
||||
|
||||
#include <boost/type_traits.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
@ -89,7 +90,7 @@ inline void iter_swap(I1 one, I2 two)
|
||||
|
||||
}; // namespace opt
|
||||
|
||||
int main()
|
||||
int cpp_main(int argc, char* argv[])
|
||||
{
|
||||
//
|
||||
// testing iter_swap
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
#include <boost/timer.hpp>
|
||||
#include <boost/type_traits.hpp>
|
||||
#include <boost/test/cpp_main.cpp>
|
||||
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
@ -103,7 +104,7 @@ const char cc_array[array_size] = { 0,};
|
||||
const int iter_count = 1000000;
|
||||
|
||||
|
||||
int main()
|
||||
int cpp_main(int argc, char* argv[])
|
||||
{
|
||||
boost::timer t;
|
||||
double result;
|
||||
|
Reference in New Issue
Block a user