mirror of
https://github.com/boostorg/tti.git
synced 2026-01-25 18:52:17 +00:00
18 lines
746 B
C++
18 lines
746 B
C++
#include "test_has_static_member.hpp"
|
|
#include <boost/detail/lightweight_test.hpp>
|
|
|
|
int main()
|
|
{
|
|
|
|
BOOST_TEST((boost::tti::has_static_member_DSMember<AType,short>::value));
|
|
BOOST_TEST((boost::tti::HaveTheSIntFunction<AType,int (long,double)>::value));
|
|
BOOST_TEST((!boost::tti::TheTIntFunction<AType,AType (long,double)>::value));
|
|
BOOST_TEST((boost::tti::TheTIntFunction<AnotherType,AType (long,double)>::value));
|
|
BOOST_TEST((boost::tti::has_static_member_TSFunction<AnotherType,AType::AStructType (AType::AnIntType,double)>::value));
|
|
BOOST_TEST((!boost::tti::has_static_member_SomeStaticData<AnotherType,float>::value));
|
|
BOOST_TEST((!boost::tti::Pickedname<AnotherType,void ()>::value));
|
|
|
|
return boost::report_errors();
|
|
|
|
}
|