2
0
mirror of https://github.com/boostorg/tti.git synced 2026-01-29 20:12:11 +00:00
Files
tti/test/TestMFHasStaticFunctionFail2.cpp
Edward Diener b21c8012ff Added tests
[SVN r67368]
2010-12-20 17:13:19 +00:00

22 lines
512 B
C++

#include "TestMFHasStaticFunction.hpp"
#include <boost/mpl/assert.hpp>
int main()
{
// Wrong enclosing type
BOOST_MPL_ASSERT((tti::mf_has_static_function
<
tti::HaveTheSIntFunction,
boost::mpl::identity<AnotherType>,
boost::mpl::identity<int>,
boost::mpl::identity<long>,
boost::mpl::identity<double>
>
));
return 0;
}