2
0
mirror of https://github.com/boostorg/tti.git synced 2026-02-09 11:32:14 +00:00
Files
tti/test/test_mf_has_static_data.cpp
Edward Diener 01015c6345 TTI libs files
[SVN r73673]
2011-08-11 18:25:28 +00:00

36 lines
993 B
C++

// (C) Copyright Edward Diener 2011
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
#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_member_data
<
BOOST_TTI_HAS_STATIC_MEMBER_DATA_GEN(DSMember)<_,_>,
boost::mpl::identity<AType>,
boost::mpl::identity<short>
>
::value
));
BOOST_TEST((boost::tti::mf_has_static_member_data
<
BOOST_TTI_MTFC_HAS_STATIC_MEMBER_DATA_GEN(DSMember),
boost::mpl::identity<AType>,
boost::mpl::identity<short>
>
::value
));
return boost::report_errors();
}