forked from boostorg/type_traits
Fixed problems with type conversions, and removed some illegal ;'s
[SVN r9685]
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
#include "boost/type_traits/type_traits_test.hpp"
|
||||
|
||||
template <class T>
|
||||
void is_function_test(const T& foo)
|
||||
void is_function_test(T& foo)
|
||||
{
|
||||
value_test(true, ::boost::is_function<T>::value);
|
||||
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
@ -35,11 +35,11 @@ void is_function_test(const T& foo)
|
||||
#endif
|
||||
}
|
||||
|
||||
void foo0(){};
|
||||
void foo1(int){};
|
||||
void foo2(int&, double){};
|
||||
void foo3(int&, bool, int, int){};
|
||||
void foo4(int, bool, int*, int[], int, int, int, int, int){};
|
||||
void foo0(){}
|
||||
void foo1(int){}
|
||||
void foo2(int&, double){}
|
||||
void foo3(int&, bool, int, int){}
|
||||
void foo4(int, bool, int*, int[], int, int, int, int, int){}
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
@ -70,3 +70,4 @@ unsigned int expected_failures = 0;
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user