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