old_primes Namespace Reference


Classes

struct  yes
struct  no
struct  is_divisible
struct  primes< 1 >
struct  primes< 2 >
struct  primes< 3 >
struct  prime_decomposition
struct  prime_decomposition< n, boost::mpl::integral_c< int, 1 > >

Functions

 BOOST_STATIC_ASSERT ((is_divisible< 8, 1 >::type::value))
 BOOST_STATIC_ASSERT ((is_divisible< 8, 2 >::type::value))
 BOOST_STATIC_ASSERT ((is_divisible< 8, 4 >::type::value))
 BOOST_STATIC_ASSERT ((is_divisible< 8, 8 >::type::value))
 BOOST_STATIC_ASSERT ((!is_divisible< 8, 16 >::type::value))
 BOOST_STATIC_ASSERT ((!is_divisible< 8, 3 >::type::value))
 BOOST_STATIC_ASSERT ((boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 1 > >::list, boost::mpl::vector<> >::type::value))
 BOOST_STATIC_ASSERT ((boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 1 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value))
 BOOST_STATIC_ASSERT ((boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 2 > >::list, boost::mpl::vector<> >::type::value))
 BOOST_STATIC_ASSERT ((boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 2 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value))
 BOOST_STATIC_ASSERT ((boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 3 > >::list, boost::mpl::vector<> >::type::value))
 BOOST_STATIC_ASSERT ((boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 3 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value))
 BOOST_STATIC_ASSERT ((boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 4 > >::list, boost::mpl::vector<> >::type::value))
 BOOST_STATIC_ASSERT ((boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 4 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value))
 BOOST_STATIC_ASSERT ((boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 5 > >::list, boost::mpl::vector< boost::mpl::integral_c< int, 5 > > >::type::value))
 BOOST_STATIC_ASSERT ((boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 5 > >::remainder, boost::mpl::integral_c< int, 1 > >::type::value))
 BOOST_STATIC_ASSERT ((boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 10 >, boost::mpl::integral_c< int, 4 > >::list, boost::mpl::vector< boost::mpl::integral_c< int, 2 > > >::type::value))
 BOOST_STATIC_ASSERT ((boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 10 >, boost::mpl::integral_c< int, 4 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value))
 BOOST_STATIC_ASSERT ((boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 10 >, boost::mpl::integral_c< int, 5 > >::list, boost::mpl::vector< boost::mpl::integral_c< int, 2 >, boost::mpl::integral_c< int, 5 > > >::type::value))
 BOOST_STATIC_ASSERT ((boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 10 >, boost::mpl::integral_c< int, 5 > >::remainder, boost::mpl::integral_c< int, 1 > >::type::value))


Function Documentation

old_primes::BOOST_STATIC_ASSERT ( (boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 10 >, boost::mpl::integral_c< int, 5 > >::remainder, boost::mpl::integral_c< int, 1 > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 10 >, boost::mpl::integral_c< int, 5 > >::list, boost::mpl::vector< boost::mpl::integral_c< int, 2 >, boost::mpl::integral_c< int, 5 > > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 10 >, boost::mpl::integral_c< int, 4 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 10 >, boost::mpl::integral_c< int, 4 > >::list, boost::mpl::vector< boost::mpl::integral_c< int, 2 > > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 5 > >::remainder, boost::mpl::integral_c< int, 1 > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 5 > >::list, boost::mpl::vector< boost::mpl::integral_c< int, 5 > > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 4 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 4 > >::list, boost::mpl::vector<> >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 3 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 3 > >::list, boost::mpl::vector<> >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 2 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 2 > >::list, boost::mpl::vector<> >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::is_same< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 1 > >::remainder, boost::mpl::integral_c< int, 5 > >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (boost::mpl::equal< typename prime_decomposition< boost::mpl::integral_c< int, 5 >, boost::mpl::integral_c< int, 1 > >::list, boost::mpl::vector<> >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (!is_divisible< 8, 3 >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (!is_divisible< 8, 16 >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (is_divisible< 8, 8 >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (is_divisible< 8, 4 >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (is_divisible< 8, 2 >::type::value)   ) 

old_primes::BOOST_STATIC_ASSERT ( (is_divisible< 8, 1 >::type::value)   ) 


Generated on Mon Apr 2 22:25:07 2007 for physical_svn by  doxygen 1.5.1-p1
hosted on SourceForge.net Logo