mirror of
https://github.com/boostorg/tti.git
synced 2026-01-25 06:42:25 +00:00
27 lines
674 B
C++
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;
|
|
|
|
}
|