Added test of signature_type keyword.
[SVN r50784]
This commit is contained in:
parent
41326c4451
commit
010067e800
@ -28,5 +28,13 @@ int test_main(int, char*[])
|
||||
bs2::signal<double (int), bs2::optional_last_value<double>, float, std::less<float> > mysig2;
|
||||
BOOST_CHECK(typeid(mysig) == typeid(mysig2));
|
||||
}
|
||||
#ifdef BOOST_SIGNALS2_NAMED_SIGNATURE_PARAMETER
|
||||
{
|
||||
using namespace bs2::keywords;
|
||||
bs2::signal_type<signature_type<float (long*)> >::type mysig;
|
||||
bs2::signal<float (long*)> mysig2;
|
||||
BOOST_CHECK(typeid(mysig) == typeid(mysig2));
|
||||
}
|
||||
#endif // BOOST_SIGNALS2_NAMED_SIGNATURE_PARAMETER
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user