2
0
mirror of https://github.com/boostorg/tti.git synced 2026-01-25 06:42:25 +00:00
Files
tti/test/TestMFHasStaticFunctionFail.cpp
Edward Diener 793458e3ee Updated functionality and tests
[SVN r68669]
2011-02-06 16:29:00 +00:00

27 lines
674 B
C++

#include "TestMFHasStaticFunction.hpp"
#include <boost/mpl/assert.hpp>
int main()
{
using namespace boost::mpl::placeholders;
// SomeStaticFunction does not exist at all
BOOST_MPL_ASSERT((tti::mf_has_static_member_function
<
tti::Pickedname<_,_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<short>,
boost::mpl::vector
<
boost::mpl::identity<int>,
boost::mpl::identity<long>
>
>
));
return 0;
}