mirror of
https://github.com/boostorg/tti.git
synced 2026-01-26 07:02:14 +00:00
30 lines
732 B
C++
30 lines
732 B
C++
#include "test_mf_has_static_data.hpp"
|
|
#include <boost/detail/lightweight_test.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
using namespace boost::mpl::placeholders;
|
|
|
|
BOOST_TEST((boost::tti::mf_has_static_data
|
|
<
|
|
boost::tti::has_static_member_DSMember<_,_>,
|
|
boost::mpl::identity<AType>,
|
|
boost::mpl::identity<short>
|
|
>
|
|
::value
|
|
));
|
|
|
|
BOOST_TEST((boost::tti::mf_has_static_data
|
|
<
|
|
boost::tti::mtfc_has_static_member_DSMember,
|
|
boost::mpl::identity<AType>,
|
|
boost::mpl::identity<short>
|
|
>
|
|
::value
|
|
));
|
|
|
|
return boost::report_errors();
|
|
|
|
}
|