2
0
mirror of https://github.com/boostorg/typeof.git synced 2026-01-22 17:52:22 +00:00
Files
typeof/test/function_ptr.cpp
Arkadiy Vertleyb 9bb8a83f24 added more tests
[SVN r30908]
2005-09-11 14:59:52 +00:00

7 lines
401 B
C++
Executable File

#include "test.hpp"
BOOST_STATIC_ASSERT(boost::type_of::test<double(*)()>::value);
BOOST_STATIC_ASSERT(boost::type_of::test<double(*)(int, double, short, char*, bool, char, float, long, unsigned short)>::value);
BOOST_STATIC_ASSERT(boost::type_of::test<void(*)()>::value);
BOOST_STATIC_ASSERT(boost::type_of::test<void(*)(int, double, short, char*, bool, char, float, long, unsigned short)>::value);