C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches

Tests functionality from Exercise 4-4. More...

Classes

class  test_class
 

Functions

 BOOST_STATIC_ASSERT ((is_data_member_pointer< int *(test_class::*)>::value))
 
 BOOST_STATIC_ASSERT ((!is_data_member_pointer< int * >::value))
 
 BOOST_STATIC_ASSERT ((!is_pointer_to_function< void()>::value))
 
 BOOST_STATIC_ASSERT ((!is_pointer_to_function< void(*[])()>::value))
 
 BOOST_STATIC_ASSERT ((is_pointer_to_function< void(*)()>::value))
 
 BOOST_STATIC_ASSERT ((!is_pointer_to_function< int * >::value))
 
 BOOST_STATIC_ASSERT ((!is_pointer_to_function< int(*&)()>::value))
 
 BOOST_STATIC_ASSERT ((!is_pointer_to_function< int >::value))
 
 BOOST_STATIC_ASSERT ((!is_pointer_to_function< void(test_class::*)()>::value))
 
 BOOST_STATIC_ASSERT ((is_reference_to_function_pointer< void(*&)()>::value))
 
 BOOST_STATIC_ASSERT ((!is_reference_to_function_pointer< void(*)()>::value))
 
 BOOST_STATIC_ASSERT ((!is_reference_to_function_pointer< void(&)()>::value))
 
 BOOST_STATIC_ASSERT ((!is_reference_to_function_pointer< void()>::value))
 
 BOOST_STATIC_ASSERT ((!is_reference_to_function_pointer< int & >::value))
 
 BOOST_STATIC_ASSERT ((!is_reference_to_function_pointer< int * >::value))
 
 BOOST_STATIC_ASSERT ((!is_pointer_to_function< void(test_class::*&)()>::value))
 
 BOOST_STATIC_ASSERT ((!is_reference_to_non_const< int const >::value))
 
 BOOST_STATIC_ASSERT ((!is_reference_to_non_const< int const & >::value))
 
 BOOST_STATIC_ASSERT ((is_reference_to_non_const< int & >::value))
 

Detailed Description

Tests functionality from Exercise 4-4.

Function Documentation

◆ BOOST_STATIC_ASSERT() [1/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_data_member_pointer< int * >::value)  )

◆ BOOST_STATIC_ASSERT() [2/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_pointer_to_function< int * >::value)  )

◆ BOOST_STATIC_ASSERT() [3/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_pointer_to_function< int >::value)  )

◆ BOOST_STATIC_ASSERT() [4/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_pointer_to_function< int(*&)()>::value)  )

◆ BOOST_STATIC_ASSERT() [5/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_pointer_to_function< void()>::value)  )

◆ BOOST_STATIC_ASSERT() [6/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_pointer_to_function< void(*[])()>::value)  )

◆ BOOST_STATIC_ASSERT() [7/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_pointer_to_function< void(test_class::*&)()>::value)  )

◆ BOOST_STATIC_ASSERT() [8/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_pointer_to_function< void(test_class::*)()>::value)  )

◆ BOOST_STATIC_ASSERT() [9/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_reference_to_function_pointer< int & >::value)  )

◆ BOOST_STATIC_ASSERT() [10/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_reference_to_function_pointer< int * >::value)  )

◆ BOOST_STATIC_ASSERT() [11/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_reference_to_function_pointer< void(&)()>::value)  )

◆ BOOST_STATIC_ASSERT() [12/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_reference_to_function_pointer< void()>::value)  )

◆ BOOST_STATIC_ASSERT() [13/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_reference_to_function_pointer< void(*)()>::value)  )

◆ BOOST_STATIC_ASSERT() [14/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_reference_to_non_const< int const & >::value)  )

◆ BOOST_STATIC_ASSERT() [15/19]

test_4_4::BOOST_STATIC_ASSERT ( (!is_reference_to_non_const< int const >::value)  )

◆ BOOST_STATIC_ASSERT() [16/19]

test_4_4::BOOST_STATIC_ASSERT ( (is_data_member_pointer< int *(test_class::*)>::value)  )

◆ BOOST_STATIC_ASSERT() [17/19]

test_4_4::BOOST_STATIC_ASSERT ( (is_pointer_to_function< void(*)()>::value)  )

◆ BOOST_STATIC_ASSERT() [18/19]

test_4_4::BOOST_STATIC_ASSERT ( (is_reference_to_function_pointer< void(*&)()>::value)  )

◆ BOOST_STATIC_ASSERT() [19/19]

test_4_4::BOOST_STATIC_ASSERT ( (is_reference_to_non_const< int & >::value)  )