mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 05:40:14 +01:00
Update nvp tests and documentation
This commit is contained in:
@@ -94,10 +94,14 @@ void test_deserialize()
|
||||
|
||||
void test_trait()
|
||||
{
|
||||
BOOST_TEST_TRAIT_TRUE((boost::is_nvp<boost::nvp<double> >));
|
||||
BOOST_TEST_TRAIT_FALSE((boost::is_nvp<double>));
|
||||
BOOST_TEST_TRAIT_TRUE((boost::is_nvp<boost::nvp<int> >));
|
||||
BOOST_TEST_TRAIT_FALSE((boost::is_nvp<int>));
|
||||
BOOST_TEST_TRAIT_TRUE((boost::is_nvp<const boost::nvp<int> >));
|
||||
BOOST_TEST_TRAIT_FALSE((boost::is_nvp<const int>));
|
||||
BOOST_TEST_TRAIT_TRUE((boost::is_nvp<volatile boost::nvp<int> >));
|
||||
BOOST_TEST_TRAIT_FALSE((boost::is_nvp<volatile int>));
|
||||
BOOST_TEST_TRAIT_TRUE((boost::is_nvp<const volatile boost::nvp<int> >));
|
||||
BOOST_TEST_TRAIT_FALSE((boost::is_nvp<const volatile int>));
|
||||
}
|
||||
|
||||
void test_factory()
|
||||
|
||||
Reference in New Issue
Block a user